- buildname
RPi3 GPS Tracker:
- Part: common-mbr-2parts-rpi3-ramdisk
+ Part: common-mbr-2parts-rpi3-ramdisk-squashfs
Groups:
- Common Adaptation
- IoT Adaptation RPi3 GPS Tracker
- generic-bluetooth
- generic-multimedia
- generic-desktop-applications
- - common-desktop-applications
- generic-crosswalk
- common-crosswalk
- common-license
- generic-security
- common-cleanup-rpi3
+ - common-apply-squashfs
Repos: []
NoChrootScripts:
- buildname
--- /dev/null
+part / --size=10 --ondisk mmcblk0p --fstype=ext4 --label=rootfs --extoptions="-b 1024"
+part /usr --grow --fstype=ext4 --label=sqsh_usr --exclude-from-image
+part /opt/ --size=70 --ondisk mmcblk0p --fstype=ext4 --label=system-data --extoptions="-m 0 -b 1024"
+part /mnt/initrd --size=7 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk --extoptions="-b 1024"
+
--- /dev/null
+#!/bin/sh
+echo "############### common-apply-squashfs.post ################"
+
+# for connectivity firmware
+mkdir -p /opt/etc/bluetooth
+cp -rf /usr/etc/bluetooth/* /opt/etc/bluetooth
+rm -rf /usr/etc/bluetooth
+ln -s ../../opt/etc/bluetooth /usr/etc/bluetooth
+
+mkdir -p /opt/etc/firmware
+cp -rf /usr/lib/firmware/* /opt/etc/firmware/
+rm -rf /usr/lib/firmware
+ln -s ../../opt/etc/firmware /usr/lib/firmware
+
+mksquashfs /usr/* /opt/sqsh_usr.img
+rm -rf /usr/*