Fix image size so that Raspberry Pi Imager will write them.

- Don't add one to size; Raspberry Pi Imager checks that image size is
  a multiple of 512.
- Update e2fsprogs and coreutils to latest versions.
This commit is contained in:
Bob Cassels
2023-01-12 11:47:49 -05:00
parent 33ec6ef8d1
commit f76a6dcad0
2 changed files with 2 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ mkdir "$PACKAGES"
mkdir "$TARGET"
mkdir "$CMPL"
download https://netix.dl.sourceforge.net/project/e2fsprogs/e2fsprogs/v1.44.0/e2fsprogs-1.44.0.tar.gz
download https://netix.dl.sourceforge.net/project/e2fsprogs/e2fsprogs/v1.46.5/e2fsprogs-1.46.5.tar.gz
cd e2fs*
./configure --prefix "$TARGET" --disable-nls
make
@@ -43,7 +43,7 @@ cp -a e2fsck/e2fsck "$BASE"
cp -a resize/resize2fs "$BASE"
cp -a misc/tune2fs "$BASE"
download https://ftp.gnu.org/gnu/coreutils/coreutils-8.29.tar.xz
download https://ftp.gnu.org/gnu/coreutils/coreutils-9.1.tar.xz
cd core*
./configure --prefix "$TARGET" --disable-nls
make