Add a basic read-only implementation for the Ext2 filesystem #29

Merged
apio merged 14 commits from ext2 into main 2023-07-01 15:38:00 +00:00
3 changed files with 5 additions and 4 deletions
Showing only changes of commit d7486326bf - Show all commits

View File

@ -11,7 +11,7 @@ steps:
image: ubuntu image: ubuntu
commands: commands:
- apt update - 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 - wget https://pub.cloudapio.eu/luna/toolchains/ci-toolchain-arm64.tar.gz --quiet
- tar xf ci-toolchain-arm64.tar.gz - tar xf ci-toolchain-arm64.tar.gz
- rm ci-toolchain-arm64.tar.gz - rm ci-toolchain-arm64.tar.gz

View File

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

View File

@ -7,4 +7,6 @@ cd $LUNA_ROOT
fakeroot -u -s $LUNA_ROOT/.fakeroot -- tools/install.sh 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 fakeroot -u -i $LUNA_ROOT/.fakeroot -- mkbootimg luna.json Luna.iso