Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2021-08-03 11:56:08 +0300
committernl6720 <nl6720@gmail.com>2021-08-15 16:37:13 +0300
commit6185448477313e304a8ab662e5857b50a515d1fa (patch)
treec75d7b6c6a40b5ceeb6a0cce6272f6a5c7ebd747 /scripts
parent0f3a83abf767d0efd409d5563feb13d762c82c7c (diff)
mkarchiso: copy files to ext4 image using mkfs.ext4's -d option instead of mounting the file system
mkfs.ext4 with its -d option can "copy the contents of the given directory into the root directory of the filesystem". This allows to get rid of the last directly used mount and umount commands in mkarchiso. Additionally try to make the ext4 image somewhat reproducible by setting E2FSPROGS_FAKE_TIME to SOURCE_DATE_EPOCH, clearing the UUID and using a reproducible hash seed. See https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/commit/?id=e1f7100643a46456be107b33098f6034b0835e6d . Place mkfs.ext4 options in an array to avoid duplicating the command. Related to #40.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions