aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2017-09-18 13:21:55 +0300
committerRiku Voipio <riku.voipio@linaro.org>2017-09-18 13:21:55 +0300
commitc6db06a79adc21e962742addd09dc68999da85d3 (patch)
tree472cd7cfc7f02033ad194b34a166b0599b2ce556 /scripts
parent6183062296829f9304d34983a3162c00aa20dae3 (diff)
corrections
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/DB410C/21-customize7
-rwxr-xr-xscripts/LINARO/01-setup_user_linaro.chroot2
2 files changed, 8 insertions, 1 deletions
diff --git a/scripts/DB410C/21-customize b/scripts/DB410C/21-customize
index c44f03c..64e7cea 100755
--- a/scripts/DB410C/21-customize
+++ b/scripts/DB410C/21-customize
@@ -33,4 +33,11 @@ cat << EOF > $target/etc/fstab
/dev/disk/by-partlabel/rootfs / ext4 rw,relatime,data=ordered 0 1
EOF
+# hack
+for kernel in $target/boot/vmlinuz-*
+do
+ mv $kernel $kernel.gz
+ gunzip $kernel
+done
+
chroot $target /usr/sbin/u-boot-update
diff --git a/scripts/LINARO/01-setup_user_linaro.chroot b/scripts/LINARO/01-setup_user_linaro.chroot
index 007afc2..d46aa32 100755
--- a/scripts/LINARO/01-setup_user_linaro.chroot
+++ b/scripts/LINARO/01-setup_user_linaro.chroot
@@ -4,4 +4,4 @@ echo "I: create linaro user"
chroot $target adduser --gecos linaro --disabled-login linaro
echo "I: set linaro user password"
-echo "linaro:linaro" | chpasswd
+echo "linaro:linaro" | chroot $target chpasswd