source: ubiquity/trunk/fuentes/debian/patches/aclforext4.patch @ 1056

Last change on this file since 1056 was 1056, checked in by kbut, 5 years ago

add lliurex files

File size: 704 bytes
RevLine 
[1056]1--- ubiquity.orig/d-i/source/partman-target/finish.d/fstab_hd_entries   2012-01-27 14:45:51.114138675 +0100
2+++ ubiquity/d-i/source/partman-target/finish.d/fstab_hd_entries        2012-01-27 14:51:50.571921117 +0100
3@@ -11,9 +11,18 @@
4 
5 # dev, mountpoint, type, options, dump, pass
6 addfstab () {
7+       lliurex_options="$(escape $4)"
8+       lliurex_type="$(escape $3)"
9+       if [ "$lliurex_type" = "ext4" ]; then
10+               if [ "$lliurex_options" != "" ]; then
11+                       lliurex_options="acl,$lliurex_options"
12+               else
13+                       lliurex_options="acl"
14+               fi
15+       fi
16        printf "%-15s %-15s %-7s %-15s %-7s %s\n" \
17                "$(escape "$1")" "$(escape "$2")" \
18-               "$(escape "$3")" "$(escape "$4")" \
19+               "$(escape "$3")" "$lliurex_options" \
20                "$5" "$6"
21 }
22 
Note: See TracBrowser for help on using the repository browser.