Werner dce1101ba2
Remove unneeded code (#2003)
There is no *default* branch anymore...
2020-06-23 11:52:29 +02:00

11 lines
309 B
Bash
Executable File

#!/bin/sh
. /etc/armbian-release
echo "update-initramfs: Converting to u-boot format" >&2
tempname="/boot/uInitrd-$1"
mkimage -A $INITRD_ARCH -O linux -T ramdisk -C gzip -n uInitrd -d $2 $tempname > /dev/null
ln -sf $(basename $tempname) /boot/uInitrd > /dev/null 2>&1 || mv $tempname /boot/uInitrd
exit 0