A set of shell scripts that will build GNU/Linux distribution rootfs image for rockchip platform.
sudo apt-get install binfmt-support qemu-user-static
sudo dpkg -i ubuntu-build-service/packages/*
sudo apt-get install -f
Building a base debian system by ubuntu-build-service from linaro.
RELEASE=bookworm TARGET=base ARCH=armhf ./mk-base-debian.sh
Building a desktop debian system by ubuntu-build-service from linaro.
RELEASE=bookworm TARGET=desktop ARCH=armhf ./mk-base-debian.sh
RELEASE=bookworm ARCH=armhf ./mk-rootfs.sh
VERSION=debug ARCH=armhf ./mk-rootfs-bookworm.sh
Creating the ext4 image(linaro-rootfs.img):
./mk-image.sh
Building a base debian system by ubuntu-build-service from linaro.
RELEASE=bookworm TARGET=desktop ARCH=arm64 ./mk-base-debian.sh
RELEASE=bookworm ARCH=arm64 ./mk-rootfs.sh
VERSION=debug ARCH=arm64 ./mk-rootfs-bookworm.sh
Creating the ext4 image(linaro-rootfs.img):
./mk-image.sh
Please apply those patches to release code base before rebuilding!
Please see debian license
Solution: mount -o remount,exec,dev xxx (xxx is the mount place), then rebuild it.