Skip to content
Snippets Groups Projects
Commit 4eadb0ca authored by minute's avatar minute
Browse files

update mkimage.sh

parent 19fe8fd4
No related branches found
No related tags found
1 merge request!12RC1 of MNT Reform System Image and Rescue Image
......@@ -8,19 +8,17 @@ set -e
sudo apt-get -y install parted multistrap udisks2 gcc-aarch64-linux-gnu make device-tree-compiler qemu-user-static binfmt-support build-essential bison flex libssl-dev mmdebstrap
# build the linux kernel
#./mkkernel.sh
./mkkernel.sh
# build u-boot
#./mkuboot.sh
./mkuboot.sh
# build the debian userland and configure it
#sudo ./mkuserland.sh
# chroot into the userland and build custom packages (mesa, xserver...)
#sudo ./mkuserland2.sh
sudo ./mkuserland-new.sh
# chroot into the userland and build custom packages (mesa, xserver...)
sudo ./mkuserland2.sh
#SIZE=8188M
SIZE=2048M
SIZE=9000M
#SIZE=2048M
# create ext4 partition from target root directory directly at 4MiB offset, 8192MiB (8GiB) image size
sudo /sbin/mke2fs -v -L 'MNTREFORM' -N 0 -O 64bit -E offset=4194304 -d target-userland -m 5 -r 1 -t ext4 reform-system.img $SIZE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment