Contents of /trunk/mkinitrd/patches/mkinitrd-6.3.5-add-linurc-symlink-to-sysroot.patch
Parent Directory | Revision Log
Revision 1493 -
(show annotations)
(download)
Fri Aug 12 10:24:45 2011 UTC (13 years, 1 month ago) by niro
File size: 523 byte(s)
Fri Aug 12 10:24:45 2011 UTC (13 years, 1 month ago) by niro
File size: 523 byte(s)
-added patch to fix a missing symlink
1 | diff -Naur mkinitrd-6.3.5/livecd/linuxrc.sh mkinitrd-6.3.5-magellan/livecd/linuxrc.sh |
2 | --- mkinitrd-6.3.5/livecd/linuxrc.sh 2011-01-29 15:23:02.000000000 +0100 |
3 | +++ mkinitrd-6.3.5-magellan/livecd/linuxrc.sh 2011-08-12 13:58:00.000000000 +0200 |
4 | @@ -192,6 +192,9 @@ |
5 | |
6 | (cd /sysroot/mnt/cloop; cp -a etc root home var /sysroot) |
7 | |
8 | + # ensure that /sysroot/linurc exists |
9 | + [ ! -e /sysroot/linuxrc ] && ln -snf ${INITEXEC} /sysroot/linuxrc |
10 | + |
11 | # ensure the right permissions |
12 | chmod 1777 /sysroot/tmp |
13 | chmod 1777 /sysroot/var/tmp |