Merge pull request #1094 from sosthene-nitrokey/shrink-fs

Add support for shrinking a filesystem
This commit is contained in:
Christopher Haster
2025-05-13 00:45:32 -05:00
committed by GitHub
5 changed files with 288 additions and 27 deletions
+16
View File
@@ -374,6 +374,22 @@ jobs:
run: |
CFLAGS="$CFLAGS -DLFS_NO_INTRINSICS" make test
test-shrink:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install
run: |
# need a few things
sudo apt-get update -qq
sudo apt-get install -qq gcc python3 python3-pip
pip3 install toml
gcc --version
python3 --version
- name: test-no-intrinsics
run: |
CFLAGS="$CFLAGS -DLFS_SHRINKNONRELOCATING" make test
# run with all trace options enabled to at least make sure these
# all compile
test-yes-trace: