Skip to content

Commit

Permalink
chore: update xgenext2fs
Browse files Browse the repository at this point in the history
  • Loading branch information
mpolitzer committed May 2, 2024
1 parent 79018d1 commit 76c2327
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
# Building from source cause the provided debian package is for Debian Bookworm
- name: Download, build and install xgenext2fs
run: |
wget https://github.com/cartesi/genext2fs/archive/refs/tags/v1.5.5.tar.gz
echo "ea648aa2a149c732aa07cd44218cdf63e881cfdfbb7e5cad3ecc6963661e31e2 v1.5.5.tar.gz" | sha256sum -c -
tar -xzf v1.5.5.tar.gz
cd genext2fs-1.5.5
wget https://github.com/cartesi/genext2fs/releases/download/v1.5.6/xgenext2fs_amd64.deb
echo "996e4e68a638b5dc5967d3410f92ecb8d2f41e32218bbe0f8b4c4474d7eebc59 v1.5.6.tar.gz" | sha256sum -c -
tar -xzf v1.5.6.tar.gz
cd genext2fs-1.5.6
./autogen.sh
./configure
make
sudo make install
rm -rf genext2fs-1.5.5 v1.5.5.tar.gz
rm -rf genext2fs-1.5.6 v1.5.6.tar.gz
- name: Login to GHCR
uses: docker/login-action@v3
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Updated xgenext2fs to v1.5.6

## [0.15.0] - 2024-04-19
### Added
Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@ $(TOOLS_ROOTFS) fs: $(TOOLS_DEB)
--output type=tar,dest=rootfs.tar \
--file fs/Dockerfile \
. && \
bsdtar -cf rootfs.gnutar --format=gnutar @rootfs.tar && \
xgenext2fs -fzB 4096 -b 25600 -i 4096 -a rootfs.gnutar -L rootfs $(TOOLS_ROOTFS) && \
rm -f rootfs.gnutar rootfs.tar
xgenext2fs -fzB 4096 -b 25600 -i 4096 -a rootfs.tar -L rootfs $(TOOLS_ROOTFS) && \
rm -f rootfs.tar

$(TOOLS_LIBCMT) libcmt:
@docker buildx build --load \
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ Users looking to create cartesi-machine applications can use the provided Debian

- Docker >= 18.x
- GNU Make >= 3.81
- bsdtar >= 3.7.2
- xgenext2fs >= 1.5.3
- xgenext2fs >= 1.5.6

### Docker buildx setup

Expand Down

0 comments on commit 76c2327

Please sign in to comment.