lib: going to use uname_r=current ass trigger

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 11 years ago
parent b2f154e11f
commit 5baccbc19f

@ -173,7 +173,6 @@ if [ "x${conf_smart_uboot}" = "xenable" ] ; then
cp /boot/initrd.img-`uname -r` /boot/uboot/boot/initrd.img-current cp /boot/initrd.img-`uname -r` /boot/uboot/boot/initrd.img-current
fi fi
else else
touch /boot/uboot/boot/trampoline.uboot
wfile="/boot/uboot/boot/uEnv.txt" wfile="/boot/uboot/boot/uEnv.txt"
echo "uname_r=current" > ${wfile} echo "uname_r=current" > ${wfile}
cp /boot/vmlinuz-`uname -r` /boot/uboot/boot/vmlinuz-current cp /boot/vmlinuz-`uname -r` /boot/uboot/boot/vmlinuz-current

@ -143,7 +143,6 @@ if [ "x${conf_smart_uboot}" = "xenable" ] ; then
cp /boot/initrd.img-`uname -r` /boot/uboot/boot/initrd.img-current cp /boot/initrd.img-`uname -r` /boot/uboot/boot/initrd.img-current
fi fi
else else
touch /boot/uboot/boot/trampoline.uboot
wfile="/boot/uboot/boot/uEnv.txt" wfile="/boot/uboot/boot/uEnv.txt"
echo "uname_r=current" > ${wfile} echo "uname_r=current" > ${wfile}
cp /boot/vmlinuz-`uname -r` /boot/uboot/boot/vmlinuz-current cp /boot/vmlinuz-`uname -r` /boot/uboot/boot/vmlinuz-current

Loading…
Cancel
Save