ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Anton Farygin <rider@altlinux.com>
To: Alexey Gladkov <legion@altlinux.ru>
Cc: ALT Linux Team development discussions
	<public-devel-XbBxUvOt3X3HsNE/8sQLYR2eb7JE58TQ@hugh.gmane.org>
Subject: Re: [devel] I: опции squashfs в mkimage
Date: Tue, 05 Aug 2008 17:46:32 +0400
Message-ID: <489859B8.4080706@altlinux.com> (raw)
In-Reply-To: <489857D1.5040901@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 512 bytes --]

Alexey Gladkov пишет:
> Anton Farygin wrote:
>> Если убрать проверку на тип параметра, то будет работать без проблем.
> 
> Тип проверяется только для PACK_SQUASHFS_PROCESSORS.
> 
>> Что-то типа этого:
>>
>> squashfs_opts="${PACK_SQUASHFS_OPTS:-}"
>>
>> mksquashfs "\$imgdir/" '/.our/$outname' $squashfs_opts 
>> ${nproc:+-processors $nproc} -e .in .host .fakedata
>>
>> Что скажет автор ?
>>
> 
> Выглядит нормально. Добавлю без проблем.

спасибо.

#16560 я уже повесил.

Патч в аттаче.


[-- Attachment #2: squashfs.patch --]
[-- Type: text/plain, Size: 716 bytes --]

diff --git a/tools/mki-pack-squash b/tools/mki-pack-squash
index 28e6ffd..1d959da 100755
--- a/tools/mki-pack-squash
+++ b/tools/mki-pack-squash
@@ -5,6 +5,8 @@
 nproc="${PACK_SQUASHFS_PROCESSORS:-}"
 nproc="$(opt_check_number 'PACK_SQUASHFS_PROCESSORS' "$nproc")"
 
+squashfs_opts="${PACK_SQUASHFS_OPTS:-}"
+
 outname="${MKI_OUTNAME:-outname}"
 outname="${outname##*/}"
 
@@ -26,7 +28,7 @@ imgdir=/.image
 [ ! -e '/.our/$outname' ] ||
 	rm -f -- '/.our/$outname'
 
-mksquashfs "\$imgdir/" '/.our/$outname' ${nproc:+-processors $nproc} -e .in .host .fakedata
+mksquashfs "\$imgdir/" '/.our/$outname' $squashfs_opts ${nproc:+-processors $nproc} -e .in .host .fakedata
 EOF
 
 mki_exec_once "$chroot/tmp/packimage.sh"

  parent reply	other threads:[~2008-08-05 13:46 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-31  8:02 [devel] I: squashfsprogs с LZMA по умолчанию Anton Farygin
2008-07-31 10:07 ` Sergey Y. Afonin
2008-07-31 10:16   ` Anton Farygin
2008-07-31 10:58     ` Michael A. Kangin
2008-07-31 11:05       ` Anton Farygin
2008-07-31 11:27         ` Michael A. Kangin
2008-07-31 11:08       ` Led
2008-07-31 11:25         ` Michael A. Kangin
2008-07-31 11:54           ` Anton Farygin
2008-07-31 12:54             ` Michael A. Kangin
2008-07-31 11:09     ` Sergey Y. Afonin
2008-07-31 11:53       ` Anton Farygin
2008-08-04 19:06 ` Konstantin A. Lepikhov
2008-08-04 19:14   ` Aleksey Novodvorsky
2008-08-04 19:56     ` Anton Farygin
2008-08-04 19:59       ` Anton Farygin
2008-08-04 20:09       ` Konstantin A. Lepikhov
2008-08-04 20:23         ` Anton Farygin
2008-08-04 20:28           ` Aleksey Novodvorsky
2008-08-04 20:55             ` Anton Farygin
2008-08-04 21:27               ` Konstantin A. Lepikhov
2008-08-04 21:50                 ` Aleksey Novodvorsky
2008-08-04 22:10                   ` Konstantin A. Lepikhov
2008-08-04 22:15                     ` Aleksey Novodvorsky
2008-08-04 22:23                     ` Alexey Tourbin
2008-08-04 22:40                       ` Konstantin A. Lepikhov
2008-08-04 22:50                         ` Alexey Tourbin
2008-08-04 22:58                           ` Konstantin A. Lepikhov
2008-08-04 23:30                             ` Aleksey Novodvorsky
2008-08-05  7:09                             ` Anton V. Boyarshinov
2008-08-05  9:14                               ` Konstantin A. Lepikhov
2008-08-04 23:25                           ` Aleksey Novodvorsky
2008-08-05  0:31                           ` Led
2008-08-05  8:39                             ` Kirill A. Shutemov
2008-08-05  9:02                             ` Anton Farygin
2008-08-05  9:10                               ` Kirill A. Shutemov
2008-08-05  9:20                                 ` Anton Farygin
2008-08-05  9:38                                   ` Kirill A. Shutemov
2008-08-05  9:44                                     ` Anton Farygin
2008-08-05  9:52                                       ` Aleksey Novodvorsky
2008-08-05 13:05                                         ` [devel] [JT] " Michael Shigorin
2008-08-05  9:17                               ` [devel] " Alexander Bokovoy
2008-08-05  9:23                                 ` Anton Farygin
2008-08-05  9:33                                 ` Anton Farygin
2008-08-05 13:00                               ` Led
2008-08-05 13:15                                 ` Anton Farygin
2008-08-05 13:28                                   ` Michael Shigorin
2008-08-05 13:33                                     ` [devel] I: опции squashfs в mkimage Anton Farygin
2008-08-05 13:46                                         ` Anton Farygin [this message]
2008-08-05 13:34                                     ` [devel] I: squashfsprogs с LZMA по умолчанию Alexey Gladkov
2008-08-05  5:56                         ` Michael Shigorin
2008-08-05  0:33                       ` Led
2008-08-05  0:51                         ` Alexey Tourbin
2008-08-04 22:26                   ` Anton Farygin
2008-08-04 22:37                     ` Konstantin A. Lepikhov
2008-08-05  0:36                     ` Led
2008-08-05  6:01                       ` Michael Shigorin
2008-08-05  6:18                         ` Anton Farygin
2008-08-05  9:13                           ` Konstantin A. Lepikhov
2008-08-05  9:27                             ` Anton Farygin
2008-08-05  9:33                               ` Konstantin A. Lepikhov
2008-08-05  9:37                                 ` Aleksey Novodvorsky
2008-08-05  9:41                                 ` Anton Farygin
2008-08-05  9:44                                   ` Aleksey Novodvorsky
2008-08-05  9:50                                     ` Anton Farygin
2008-08-05  9:52                                       ` Anton Farygin
2008-08-05  9:55                                         ` Aleksey Novodvorsky
2008-08-05  9:57                                           ` Aleksey Novodvorsky
2008-08-05 10:15                                             ` Anton Farygin
2008-08-05 10:19                                               ` Aleksey Novodvorsky
2008-08-05 10:20                                               ` Kirill A. Shutemov
2008-08-05 10:22                                                 ` Anton Farygin
2008-08-05 10:24                                                   ` Anton Farygin
2008-08-05 10:23                                                 ` Aleksey Novodvorsky
2008-08-05 10:25                                                   ` Anton Farygin
2008-08-05 12:04                                         ` Michael Shigorin
2008-08-05 12:09                                           ` Anton Farygin
2008-08-05 13:03                                             ` Led
2008-08-05 13:15                                               ` Anton Farygin
2008-08-05 13:20                                             ` Michael Shigorin
2008-08-05  9:54                                       ` Aleksey Novodvorsky
2008-08-05 10:07                                         ` Alexey Gladkov
2008-08-05 10:09                                           ` Mikhail Gusarov
2008-08-05 10:13                                           ` Aleksey Novodvorsky
2008-08-05 10:41                                             ` Anton Farygin
2008-08-05 10:57                                               ` Alexey Gladkov
2008-08-05 10:58                                                 ` Anton Farygin
2008-08-05 10:59                                               ` Michael Bochkaryov
2008-08-05 10:16                                           ` Anton Farygin
2008-08-05  7:04     ` Anton V. Boyarshinov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=489859B8.4080706@altlinux.com \
    --to=rider@altlinux.com \
    --cc=devel@lists.altlinux.org \
    --cc=legion@altlinux.ru \
    --cc=public-devel-XbBxUvOt3X3HsNE/8sQLYR2eb7JE58TQ@hugh.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git