diff options
author | Derek Young <dyoung@nslu2-linux.org> | 2005-01-06 11:50:33 +0000 |
---|---|---|
committer | Derek Young <dyoung@nslu2-linux.org> | 2005-01-06 11:50:33 +0000 |
commit | 4e0b4942d5d6e22fe49b0987768690d6e4343764 (patch) | |
tree | 0e78588cbfc3cdc80dd555ad9a3f63e13ccb13a0 | |
parent | b2e2d14f669c2c8ba8d9ad5b581bec40ce423c4d (diff) |
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembedded
into builder.(none):/home/dereky/bbroot/openembedded
2005/01/06 01:50:05-10:00 (none)!dyoung
Preserve permissions on var/dev ramdisk copy
BKrev: 41dd2609xZEQ76xSeX6a5a5oRDsCQw
-rw-r--r-- | packages/nslu2-binary-only/unslung-rootfs-2.3r25/create-ramdisks.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/nslu2-binary-only/unslung-rootfs-2.3r25/create-ramdisks.patch b/packages/nslu2-binary-only/unslung-rootfs-2.3r25/create-ramdisks.patch index 7fe65afc68..5783dae078 100644 --- a/packages/nslu2-binary-only/unslung-rootfs-2.3r25/create-ramdisks.patch +++ b/packages/nslu2-binary-only/unslung-rootfs-2.3r25/create-ramdisks.patch @@ -8,14 +8,14 @@ + +/bin/echo "Creating ramfs for /dev:" +/bin/mount -t ramfs ramfs /mnt/tmpmnt -+/bin/cp -r /dev/* /mnt/tmpmnt/ ++/bin/cp -rp /dev/* /mnt/tmpmnt/ +/bin/mkdir -p /dev.state +/bin/mount -o bind /dev /dev.state +/bin/mount -o bind /mnt/tmpmnt /dev +/bin/umount /mnt/tmpmnt +/bin/echo "Creating ramfs for /var:" +/bin/mount -t ramfs ramfs /mnt/tmpmnt -o maxsize=256 -+/bin/cp -r /var/* /mnt/tmpmnt/ ++/bin/cp -rp /var/* /mnt/tmpmnt/ +/bin/mkdir -p /var.state +/bin/mount -o bind /var /var.state +/bin/mount -o bind /mnt/tmpmnt /var |