aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2024-05-25 12:46:25 +0300
committernl6720 <nl6720@gmail.com>2024-06-05 11:44:41 +0300
commit88102d8b44554e543f28dc6413b1d5497e99586d (patch)
treeb5bde72c6d6024b7fec8578ce76e507d9bd1061a
parent57589df1d62ce90bda43d8e2927e66b7482cb184 (diff)
downloadarchiso-88102d8b44554e543f28dc6413b1d5497e99586d.tar.gz
archiso-88102d8b44554e543f28dc6413b1d5497e99586d.tar.bz2
mkarchiso: remove unneeded workarounds in _mkairootfs_ext4+squashfs
* Do not run `tune2fs` on the image. The file system is not mounted, so the default values for "Maximum mount count" (`tune2fs` option `-c`) and "Check interval" (`tune2fs` option `-i`) are fine as is. With this change the ext4 image is reproducible. * Remove `E2FSPROGS_FAKE_TIME`. e2fsprogs 1.47.1 supports `SOURCE_DATE_EPOCH` so setting this e2fsprogs specific variable is not needed anymore. See https://github.com/tytso/e2fsprogs/issues/131 for details.
-rw-r--r--CHANGELOG.rst2
-rwxr-xr-xarchiso/mkarchiso3
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index b989057..9e4319e 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -22,6 +22,8 @@ Fixed
Removed
-------
+- Remove unneeded workaround for e2fsprogs < 1.47.1.
+
[78] - 2024-05-23
=================
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 9838d90..b582fbe 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -202,8 +202,7 @@ _mkairootfs_ext4+squashfs() {
)
[[ ! "${quiet}" == "y" ]] || mkfs_ext4_options+=('-q')
rm -f -- "${pacstrap_dir}.img"
- E2FSPROGS_FAKE_TIME="${SOURCE_DATE_EPOCH}" mkfs.ext4 "${mkfs_ext4_options[@]}" -- "${pacstrap_dir}.img" 32G
- tune2fs -c 0 -i 0 -- "${pacstrap_dir}.img" >/dev/null
+ mkfs.ext4 "${mkfs_ext4_options[@]}" -- "${pacstrap_dir}.img" 32G
_msg_info "Done!"
install -d -m 0755 -- "${isofs_dir}/${install_dir}/${arch}"