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

Last change on this file was 1501, checked in by daduve, 5 years ago

new patch

File size: 728 bytes
RevLine 
[1501]1diff -Nuar "$1" "$2"
2--- ubiquity.orig/d-i/source/partman-target/finish.d/fstab_hd_entries   2016-05-11 14:58:57.599808385 +0200
3+++ ubiquity/d-i/source/partman-target/finish.d/fstab_hd_entries        2016-05-12 12:30:20.353759666 +0200
4@@ -13,9 +13,19 @@
[1056]5 
6 # dev, mountpoint, type, options, dump, pass
7 addfstab () {
8+       lliurex_options="$(escape $4)"
9+       lliurex_type="$(escape $3)"
10+       if [ "$lliurex_type" = "ext4" ]; then
11+               if [ "$lliurex_options" != "" ]; then
12+                       lliurex_options="acl,$lliurex_options"
13+               else
14+                       lliurex_options="acl"
15+               fi
16+       fi
[1501]17+
[1056]18        printf "%-15s %-15s %-7s %-15s %-7s %s\n" \
19                "$(escape "$1")" "$(escape "$2")" \
20-               "$(escape "$3")" "$(escape "$4")" \
21+               "$(escape "$3")" "$lliurex_options" \
22                "$5" "$6"
23 }
24 
Note: See TracBrowser for help on using the repository browser.