summarylogtreecommitdiffstats
path: root/linux-rockchip.preset
blob: e3e49ce72957f9c030d0102d36de8c611024eccf (plain)
1
2
3
4
5
6
7
8
9
10
# mkinitcpio preset file for the 'linux-rockchip' package

ALL_config="/etc/mkinitcpio.conf"
ALL_kver="$(dd if=/boot/vmlinuz-linux-rockchip skip=$(grep -a -b -o $'\x1f\x8b\x08\x00\x00\x00\x00\x00' /boot/vmlinuz-linux-rockchip | head -n 1 | cut -d ':' -f 1) iflag=skip_bytes 2>&1 | zcat -q | grep -a 'Linux version [0-9]' | sed -r 's#.*([0-9]+.[0-9]+.[0-9]+-[a-zA-Z]+).*#\1#')"

PRESETS=('default')

#default_config="/etc/mkinitcpio.conf"
default_image="/boot/initramfs-linux-rockchip.img"
#default_options=""