Line 132... |
Line 132... |
132 |
cp {linuxrc,liblinuxlive} $INITRD_TREE # symlink will be copied as original file
|
132 |
cp {linuxrc,liblinuxlive} $INITRD_TREE # symlink will be copied as original file
|
133 |
chmod a+x $INITRD_TREE/linuxrc
|
133 |
chmod a+x $INITRD_TREE/linuxrc
|
134 |
|
134 |
|
135 |
cp static-binaries/modprobe $INITRD_TREE/sbin
|
135 |
cp static-binaries/modprobe $INITRD_TREE/sbin
|
136 |
cp static-binaries/busybox $INITRD_TREE/bin
|
136 |
cp static-binaries/busybox $INITRD_TREE/bin
|
137 |
cp static-binaries/unionctl_${ARCH} $INITRD_TREE/bin/unionctl
|
137 |
# cp static-binaries/unionctl_${ARCH} $INITRD_TREE/bin/unionctl
|
- |
|
138 |
if [ -x /usr/sbin/unionctl.static ]; then
|
138 |
[ -x /usr/sbin/unionctl.static ] && cp -a /usr/sbin/unionctl.static $INITRD_TREE/bin/unionctl
|
139 |
cp -a /usr/sbin/unionctl.static $INITRD_TREE/bin/unionctl
|
- |
|
140 |
else
|
- |
|
141 |
echo "NOTE: /usr/sbin/unionctl.static was not found !"
|
- |
|
142 |
echo "assuming you're using unionfs 2.x"
|
- |
|
143 |
fi
|
139 |
ln -s busybox $INITRD_TREE/bin/[
|
144 |
ln -s busybox $INITRD_TREE/bin/[
|
140 |
ln -s busybox $INITRD_TREE/bin/[[
|
145 |
ln -s busybox $INITRD_TREE/bin/[[
|
141 |
BUSYBOXCMDS="ash awk basename cat chmod chown chroot \
|
146 |
BUSYBOXCMDS="ash awk basename cat chmod chown chroot \
|
142 |
clear cp cut dd df dirname du echo egrep eject \
|
147 |
clear cp cut dd df dirname du echo egrep eject \
|
143 |
expr false fdisk fgrep find free grep gunzip halt \
|
148 |
expr false fdisk fgrep find free grep gunzip halt \
|