[SCM] Debian Live initramfs hook branch, master, updated. 1.139.1-2-19-g79d1725
Marco Amadori
amadorim at vdavda.com
Wed Sep 17 06:52:05 UTC 2008
The following commit has been merged in the master branch:
commit 00bfebb0a97b81b166863e1fc9bd16e06fcf10a9
Author: Marco Amadori <amadorim at vdavda.com>
Date: Tue Sep 16 10:55:22 2008 +0200
Add real cpio to initramfs for snapshot's uses.
Signed-off-by: Marco Amadori <amadorim at vdavda.com>
diff --git a/hooks/live b/hooks/live
index dea7f0c..f2984f4 100755
--- a/hooks/live
+++ b/hooks/live
@@ -128,6 +128,15 @@ fi
# Program: md5sum
copy_exec /usr/bin/md5sum /bin
+# Program: cpio
+# busybox and klibc lacks --no-absolute-filenames and --sparse, needed for snapshots
+if [ -e "${DESTDIR}/bin/cpio" ]
+then
+ # Override already present cpio's, mostly klibc's
+ rm "${DESTDIR}/bin/cpio"
+fi
+copy_exec /bin/cpio /bin
+
# Program: udev
if [ -x /sbin/udevadm ]
then
--
Debian Live initramfs hook
More information about the debian-live-changes
mailing list