aboutsummaryrefslogtreecommitdiff
path: root/rpb-debian.yaml
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo.salveti@linaro.org>2016-07-04 01:41:50 -0300
committerRicardo Salveti <ricardo.salveti@linaro.org>2016-07-04 01:41:57 -0300
commitbeeba829419709e16771a4e83ce11062895bc303 (patch)
tree800f773b1ff1d94f678f3244fba521ae182b5957 /rpb-debian.yaml
parent7437a6f5df6df0d87a673764dd3e073b56bf1fd1 (diff)
downloadconfigs-beeba829419709e16771a4e83ce11062895bc303.tar.gz
rpb-debian-db410c: fix extlinux.conf for the sdcard image
As done with grub.cfg, have a different extlinux.conf file for the sdcard image, with a fixed partition layout (instead of using labels). Change-Id: Id2f939a2910ae442f1a4f2965309aea4de60766c Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Diffstat (limited to 'rpb-debian.yaml')
-rw-r--r--rpb-debian.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/rpb-debian.yaml b/rpb-debian.yaml
index d96914c49..401311fec 100644
--- a/rpb-debian.yaml
+++ b/rpb-debian.yaml
@@ -206,7 +206,8 @@
sudo ln -s apq8016-sbc.dtb-${KERNEL_VERSION} rootfs/boot/apq8016-sbc.dtb
echo "KERNEL_DEVICETREE=apq8016-sbc" | sudo tee rootfs/etc/default/kernel
sudo mkdir -p rootfs/boot/extlinux
- sudo cp configs/96boards-reference-platform-debian/extlinux/dragonboard410c.conf rootfs/boot/extlinux/extlinux.conf
+ sudo cp configs/96boards-reference-platform-debian/extlinux/dragonboard410c.conf extlinux.conf
+ sed -e "s/mmcblk0p10/mmcblk1p2/g" extlinux.conf > extlinux-sd.conf
fi
# Create the ext4fs (fastboot compatible)
@@ -219,6 +220,11 @@
sudo cp grub.cfg rootfs_ext4/boot/grub
sudo cp grub-sd.cfg rootfs/boot/grub/grub.cfg
fi
+ ## Same for extlinux (used by dragonboard410c)
+ if [ -f extlinux.conf ]; then
+ sudo cp extlinux.conf rootfs_ext4/boot/extlinux
+ sudo cp extlinux-sd.conf rootfs/boot/extlinux/extlinux.conf
+ fi
sudo umount boot rootfs_ext4 rootfs
sudo ext2simg -v ${BOARD}-rootfs-debian-jessie-alip-${VERSION}.emmc.img.raw out/${BOARD}/${BOARD}-rootfs-debian-jessie-alip-${VERSION}.emmc.img