ALT Linux Bugzilla
– Attachment 2866 Details for
Bug 16940
mki-build-propagator: работа с cpio архивами
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
быстрый фикс
cpio-fix.diff (text/plain), 701 bytes, created by
Denis Pynkin
on 2008-08-30 14:38:58 MSD
(
hide
)
Description:
быстрый фикс
Filename:
MIME Type:
Creator:
Denis Pynkin
Created:
2008-08-30 14:38:58 MSD
Size:
701 bytes
patch
obsolete
>diff --git a/tools/mki-build-propagator b/tools/mki-build-propagator >index f8c57df..e4107ac 100755 >--- a/tools/mki-build-propagator >+++ b/tools/mki-build-propagator >@@ -33,8 +33,18 @@ printf '%s\n' "${PROPAGATOR_VERSION:-}" > /tmp/.VERSION > > rm -f /.image/syslinux/alt0/full.cz > >-[ ! -f /tmp/modules ] || >- cat "\$libdir/propagator/initfs" /tmp/modules > /.image/syslinux/alt0/full.cz >+if [ -f /tmp/modules ] >+then >+ mkdir -p /tmp/initfsroot >+ pushd /tmp/initfsroot >+ ( >+ gzip -dc "\$libdir/propagator/initfs" | cpio -id >+ gzip -dc /tmp/modules >+ ) | cpio -id >+ find | cpio -o | gzip > /.image/syslinux/alt0/full.cz >+ popd >+ rm -rf /tmp/initfsroot >+fi > > sed \ > -e "s,@LIBDIR@,\$libdir," \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 16940
: 2866