Magellan Linux

Annotation of /trunk/dracut/patches/dracut-045-busybox-realpath.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2906 - (hide annotations) (download)
Thu Apr 6 09:52:32 2017 UTC (7 years, 2 months ago) by niro
File size: 465 byte(s)
-fixes busybox issues with realpath, option -e unknown
1 niro 2906 diff -Naur dracut-045/dracut.sh dracut-045-busybox-realpath/dracut.sh
2     --- dracut-045/dracut.sh 2017-04-03 10:26:25.000000000 +0200
3     +++ dracut-045-busybox-realpath/dracut.sh 2017-04-06 11:50:15.929988218 +0200
4     @@ -843,7 +843,7 @@
5    
6     [[ $reproducible == yes ]] && DRACUT_REPRODUCIBLE=1
7    
8     -readonly TMPDIR="$(realpath -e "$tmpdir")"
9     +readonly TMPDIR="$(realpath "$tmpdir")"
10     [ -d "$TMPDIR" ] || {
11     printf "%s\n" "dracut: Invalid tmpdir '$tmpdir'." >&2
12     exit 1