tools: Generate the Ext2 filesystem using genext2fs instead
mkbootimg's filenames have some kind of bug...
This commit is contained in:
parent
765df906fb
commit
393f3dfaca
@ -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
|
||||
|
@ -16,9 +16,8 @@
|
||||
},
|
||||
{
|
||||
"type": "ext2",
|
||||
"size": 2,
|
||||
"directory": "base",
|
||||
"name": "sysroot"
|
||||
"file": "build/ext2fs.bin",
|
||||
"name": "luna-rootfs"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user