mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
don't touch file permissions in initramfs creation
This commit is contained in:
parent
35d20b4b53
commit
11c83ae896
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ _create_initramfs() {
|
||||||
# compress image with zstd
|
# compress image with zstd
|
||||||
cd "${_W_DIR}"/tmp || exit 1
|
cd "${_W_DIR}"/tmp || exit 1
|
||||||
find . -mindepth 1 -printf '%P\0' | sort -z |
|
find . -mindepth 1 -printf '%P\0' | sort -z |
|
||||||
bsdtar --uid 0 --gid 0 --null -cnf - -T - |
|
bsdtar --null -cnf - -T - |
|
||||||
bsdtar --null -cf - --format=newc @- | zstd --rm -T0> ${_RAM}/${_INITRD} &
|
bsdtar --null -cf - --format=newc @- | zstd --rm -T0> ${_RAM}/${_INITRD} &
|
||||||
sleep 2
|
sleep 2
|
||||||
while pgrep -x zstd &>/dev/null; do
|
while pgrep -x zstd &>/dev/null; do
|
||||||
|
|
Loading…
Reference in a new issue