From 9f056db536e7c56885c9044ec6407cb38b11a5d0 Mon Sep 17 00:00:00 2001 From: parazyd Date: Mon, 10 Oct 2016 22:17:36 +0200 Subject: [PATCH] refactor raspi script for new style --- boards/raspberry-pi.sh | 121 +++++++++++++++++++++-------------------- 1 file changed, 61 insertions(+), 60 deletions(-) diff --git a/boards/raspberry-pi.sh b/boards/raspberry-pi.sh index 53257e3..061aba3 100644 --- a/boards/raspberry-pi.sh +++ b/boards/raspberry-pi.sh @@ -33,7 +33,7 @@ parted_type="dos" parted_boot="fat32 0 64" parted_root="ext4 64 -1" -extra_packages=(wpasupplicant) +extra_packages=(wpasupplicant rdate) custmodules=() # add the snd module here perhaps gitkernel="https://github.com/raspberrypi/linux.git" @@ -48,6 +48,9 @@ prebuild() { notice "executing $device_name prebuild" write-fstab + copy-zram-init + + mkdir -p $R/tmp/kernels/$device_name } postbuild() { @@ -55,7 +58,8 @@ postbuild() { notice "executing $device_name postbuild" - cat <