Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1867 - (show annotations) (download)
Mon Jul 30 16:52:17 2012 UTC (11 years, 9 months ago) by niro
File size: 968 byte(s)
-added patch for busybox-compat
1 diff -Naur plymouth-0.8.5.1/scripts/plymouth-populate-initrd.in plymouth-0.8.5.1-magellan/scripts/plymouth-populate-initrd.in
2 --- plymouth-0.8.5.1/scripts/plymouth-populate-initrd.in 2012-06-06 21:10:13.000000000 +0200
3 +++ plymouth-0.8.5.1-magellan/scripts/plymouth-populate-initrd.in 2012-07-30 20:48:22.505982797 +0200
4 @@ -109,7 +109,7 @@
5 else
6 # create directory
7 mkdir -m 0755 -p "${initdir}/$_file" || return 1
8 - [[ -e "$_file" ]] && chmod --reference="$_file" "${initdir}/$_file"
9 + [[ -e "$_file" ]] && chmod $(stat -c %a "$_file") "${initdir}/$_file"
10 chmod u+w "${initdir}/$_file"
11 fi
12 done
13 @@ -134,7 +134,7 @@
14 inst "${_src%/*}/.${_src##*/}.hmac" "${target%/*}/.${target##*/}.hmac"
15 fi
16 ddebug "Installing $_src"
17 - cp --sparse=always -pfL "$_src" "${initdir}/$target"
18 + cp -pfL "$_src" "${initdir}/$target"
19 }
20
21 # find symlinks linked to given library file