Magellan Linux

Contents of /trunk/plymouth/patches/plymouth-0.9.5-busybox-compat.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3553 - (show annotations) (download)
Tue Aug 4 13:13:32 2020 UTC (3 years, 8 months ago) by niro
File size: 1060 byte(s)
-rediffed for 0.9.5
1 diff -Naur plymouth-0.9.5/scripts/plymouth-populate-initrd.in plymouth-0.9.5-busybox/scripts/plymouth-populate-initrd.in
2 --- plymouth-0.9.5/scripts/plymouth-populate-initrd.in 2020-07-08 19:56:54.000000000 +0200
3 +++ plymouth-0.9.5-busybox/scripts/plymouth-populate-initrd.in 2020-08-04 15:11:56.132537242 +0200
4 @@ -119,7 +119,7 @@
5 else
6 # create directory
7 mkdir -m 0755 -p "${initdir}/$_file" || return 1
8 - [[ -e "$PLYMOUTH_SYSROOT$_file" ]] && chmod --reference="$PLYMOUTH_SYSROOT$_file" "${initdir}/$_file"
9 + [[ -e "$PLYMOUTH_SYSROOT$_file" ]] && chmod $(stat -c %a "$PLYMOUTH_SYSROOT$_file") "${initdir}/$_file"
10 chmod u+w "${initdir}/$_file"
11 fi
12 done
13 @@ -144,7 +144,7 @@
14 inst "${_src%/*}/.${_src##*/}.hmac" "${target%/*}/.${target##*/}.hmac"
15 fi
16 ddebug "Installing $_src"
17 - cp --sparse=always -pfL "$PLYMOUTH_SYSROOT$_src" "${initdir}/$target"
18 + cp -pfL "$PLYMOUTH_SYSROOT$_src" "${initdir}/$target"
19 }
20
21 # find symlinks linked to given library file