From: Eugene Prokopiev <enp@itx.ru> To: "Discussion of distributions <i>development</i>" <devel-distro@lists.altlinux.org> Subject: [devel-distro] Как правильно запаковать профиль в тарболл? Date: Tue, 22 Mar 2016 15:45:52 +0300 Message-ID: <CANM4Rug6AkMPCxoC3RbQmchYb9jBOX9px7HunUbU6GBbT9HXcg@mail.gmail.com> (raw) Здравствуйте! Потребовалось положить результаты сборки в тарболл, причем структура каталогов/файлов должна быть проще того, что попадает в загрузочный iso. Сделал в итоге так: $ cat Makefile MKI_PACK_RESULTS = custom:altlive:pack.sh MKI_HANDLER = none $ cat pack.sh #!/bin/sh -e TMPDIR=$(mktemp -d) NAME=$(basename $OUTNAME) mkdir -p $TMPDIR/$NAME cp ../boot/{vmlinuz,full.cz} $TMPDIR/$NAME cp ../.work/live $TMPDIR/$NAME cd $TMPDIR tar -cf $OUTNAME.tar $NAME cd rm -rf $TMPDIR Не покидает ощущение того, что это не самый прямой путь. Особенно смущает MKI_HANDLER, который совершенно не используется, но без него сборка спотыкается на: /usr/share/mkimage/tools/mki-pack-custom: 16: /usr/share/mkimage/tools/mki-pack-custom: MKI_HANDLER: handler required -- WBR, Eugene Prokopiev
next reply other threads:[~2016-03-22 12:45 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-03-22 12:45 Eugene Prokopiev [this message] 2016-03-22 16:45 ` Michael Shigorin 2016-03-24 6:30 ` Eugene Prokopiev
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=CANM4Rug6AkMPCxoC3RbQmchYb9jBOX9px7HunUbU6GBbT9HXcg@mail.gmail.com \ --to=enp@itx.ru \ --cc=devel-distro@lists.altlinux.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 Distributions development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/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-distro devel-distro/ http://lore.altlinux.org/devel-distro \ devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com public-inbox-index devel-distro Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-distro AGPL code for this site: git clone https://public-inbox.org/public-inbox.git