Magellan Linux

Annotation of /trunk/plymouth/patches/plymouth-0.8.8-busybox-compat.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1949 - (hide annotations) (download)
Thu Nov 15 15:57:15 2012 UTC (11 years, 7 months ago) by niro
File size: 960 byte(s)
-busybox patch for 0.8.8
1 niro 1949 diff -Naur plymouth-0.8.8/scripts/plymouth-populate-initrd.in plymouth-0.8.8-magellan/scripts/plymouth-populate-initrd.in
2     --- plymouth-0.8.8/scripts/plymouth-populate-initrd.in 2012-09-26 18:50:53.000000000 +0200
3     +++ plymouth-0.8.8-magellan/scripts/plymouth-populate-initrd.in 2012-11-15 21:01:33.464180093 +0100
4     @@ -110,7 +110,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     @@ -135,7 +135,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