diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2017-09-18 13:21:55 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2017-09-18 13:21:55 +0300 |
commit | c6db06a79adc21e962742addd09dc68999da85d3 (patch) | |
tree | 472cd7cfc7f02033ad194b34a166b0599b2ce556 /scripts | |
parent | 6183062296829f9304d34983a3162c00aa20dae3 (diff) |
corrections
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/DB410C/21-customize | 7 | ||||
-rwxr-xr-x | scripts/LINARO/01-setup_user_linaro.chroot | 2 |
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 |