projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
44ed93e
)
Add real cpio to initramfs for snapshot's uses.
author
Marco Amadori
<amadorim@vdavda.com>
Tue, 16 Sep 2008 08:55:22 +0000
(10:55 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:48:02 +0000
(17:48 +0100)
hooks/live
patch
|
blob
|
history
diff --git
a/hooks/live
b/hooks/live
index
dea7f0c
..
f2984f4
100755
(executable)
--- a/
hooks/live
+++ b/
hooks/live
@@
-128,6
+128,15
@@
fi
# Program: md5sum
copy_exec /usr/bin/md5sum /bin
# 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
# Program: udev
if [ -x /sbin/udevadm ]
then