I was wrong, on 9.04, *-sn.cpio.gz are broken.

At startup time casper:try_snap() does "cpio -i -u -d" which fails as
for initrd/bin/cpio only -i is allowed.

Workaround:

--------------------------------
!/bin/sh
# This file: /custom-installation/hooks/casper-premount.sh
# Usage: have this file by that name on any partition and use bootparam
#    debian-installer/custom-installation=/custom-installation
# Bug workaround 
# casper:try_snap() does cpio -i -u -d
# but in initrd only -i is allowed
mv /bin/cpio /bin/cpio.DIST
cat > /bin/cpio <<EOF
#!/bin/sh
/bin/cpio.DIST -i
EOF
chmod +x /bin/cpio
--------------------------------

-- 
[Hardy] Snapshots in casper/ are ignored
https://bugs.launchpad.net/bugs/202050
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to