Make clean-clone OS rebuilds autonomous
A fresh clone can now bootstrap a complete armv7 rootfs, apply the Bananarchy overlay, regenerate boot artifacts, and produce a flashable image without local build artifacts. - Add a shared package list and Docker-based rootfs bootstrap, wired into rebuild-image.sh and chroot-shell.sh. - Add offline rebuild preflight checks and prebuilt-to-overlay artifact synchronization. - Vendor the patched EDL client and provision host flashing dependencies. - Remove the hardcoded credential from the power menu helper. - Refresh documentation and changelog for the autonomous workflow.
This commit is contained in:
1 parent
a9b72700ac
commit
0ab9367e28
31 files changed
+3809
-181
No files matched your search
@@ -307,6 +307,12 @@ ln -sf /usr/share/xsessions/sxmo.desktop "$TARGET_ROOTFS/var/lib/tinydm/default-
|
||||
echo "[4/4] Installing deviceinfo for $DEVICE ($DTB_FILE)..."
|
||||
if [ -f "$BASE_DIR/devices/$DEVICE_DIR/$DEVICEINFO_FILE" ]; then
|
||||
cp -a "$BASE_DIR/devices/$DEVICE_DIR/$DEVICEINFO_FILE" "$TARGET_ROOTFS/etc/deviceinfo"
|
||||
# mkinitfs sources /usr/share/deviceinfo/deviceinfo; pmbootstrap normally
|
||||
# creates this link, so recreate it for rootfs builds done without it.
|
||||
mkdir -p "$TARGET_ROOTFS/usr/share/deviceinfo"
|
||||
cp -a "$BASE_DIR/devices/$DEVICE_DIR/$DEVICEINFO_FILE" \
|
||||
"$TARGET_ROOTFS/usr/share/deviceinfo/device-$DEVICE"
|
||||
ln -sf "device-$DEVICE" "$TARGET_ROOTFS/usr/share/deviceinfo/deviceinfo"
|
||||
fi
|
||||
if [ -f "$TARGET_ROOTFS/boot/extlinux/extlinux.conf" ]; then
|
||||
sed -i "s|^[[:space:]]*fdt .*|\tfdt /$DTB_FILE|" "$TARGET_ROOTFS/boot/extlinux/extlinux.conf"
|
||||
|
||||
Reference in new issue
Block a user