A set of shell scripts that will build GNU/Linux distribution rootfs image for rockchip platform.
- 使用RK3566处理器的LubanCat板卡
- 使用RK3568处理器的LubanCat板卡
- 使用RK3588处理器的LubanCat板卡
构建主机环境最低要求Ubuntu20.04及以上版本,推荐使用Ubuntu20.04
sudo apt-get install binfmt-support qemu-user-static
sudo dpkg -i ubuntu-build-service/packages/*
sudo apt-get install -f
- lite:控制台版,无桌面
- xfce:桌面版,使用xfce4桌面套件
- lxde:桌面版,使用lxde桌面套件
- gnome:桌面版,使用gnome桌面套件
# 运行以下脚本,根据提示选择要构建的版本
./mk-base-debian.sh
# 根据提示选择要构建桌面版本和SOC版本
VERSION=debug ./mk-bullseye-rootfs.sh
Please apply those patches to release code base before rebuilding!
Please see debian license
- noexec or nodev issue noexec or nodev issue /usr/share/debootstrap/functions: line 1450: ../rootfs/ubuntu-build-service/bullseye-desktop-arm64/chroot/test-dev-null: Permission denied E: Cannot install into target ... mounted with noexec or nodev
Solution: mount -o remount,exec,dev xxx (xxx is the mount place), then rebuild it.