tools: Generate the Ext2 filesystem using genext2fs instead

mkbootimg's filenames have some kind of bug...
This commit is contained in:
apio 2023-06-22 19:39:43 +02:00
parent 4fe6c506ec
commit d7486326bf
Signed by: apio
GPG Key ID: B8A7D06E42258954
3 changed files with 5 additions and 4 deletions

View File

@ -11,7 +11,7 @@ steps:
image: ubuntu
commands:
- apt update
- apt install build-essential cmake ninja-build wget nasm -y
- apt install build-essential cmake ninja-build wget nasm genext2fs -y
- wget https://pub.cloudapio.eu/luna/toolchains/ci-toolchain-arm64.tar.gz --quiet
- tar xf ci-toolchain-arm64.tar.gz
- rm ci-toolchain-arm64.tar.gz

View File

@ -16,9 +16,8 @@
},
{
"type": "ext2",
"size": 2,
"directory": "base",
"name": "sysroot"
"file": "build/ext2fs.bin",
"name": "luna-rootfs"
}
]
}

View File

@ -7,4 +7,6 @@ cd $LUNA_ROOT
fakeroot -u -s $LUNA_ROOT/.fakeroot -- tools/install.sh
genext2fs -d base -B 4096 -b 512 -L luna-rootfs -U -N 512 build/ext2fs.bin
fakeroot -u -i $LUNA_ROOT/.fakeroot -- mkbootimg luna.json Luna.iso