/[smeserver]/rpms/e-smith-grub/sme10/e-smith-grub-2.6.0-bz10211-enableXFSquota.patch
ViewVC logotype

Contents of /rpms/e-smith-grub/sme10/e-smith-grub-2.6.0-bz10211-enableXFSquota.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Apr 5 20:16:01 2017 UTC (7 years, 1 month ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-grub-2_6_1-9_el7_sme, e-smith-grub-2_6_1-6_el7_sme, e-smith-grub-2_6_1-10_el7_sme, e-smith-grub-2_6_1-5_el7_sme, e-smith-grub-2_6_1-4_el7_sme, e-smith-grub-2_6_1-11_el7_sme, e-smith-grub-2_6_1-7_el7_sme, e-smith-grub-2_6_1-8_el7_sme, HEAD
* Wed Apr 05 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-4.sme
- enable quota for groups and users with XFS [SME: 10211]

1 diff -Nur e-smith-grub-2.6.0.old/root/etc/e-smith/templates/etc/default/grub/GrubCmdLineLinux e-smith-grub-2.6.0/root/etc/e-smith/templates/etc/default/grub/GrubCmdLineLinux
2 --- e-smith-grub-2.6.0.old/root/etc/e-smith/templates/etc/default/grub/GrubCmdLineLinux 1969-12-31 19:00:00.000000000 -0500
3 +++ e-smith-grub-2.6.0/root/etc/e-smith/templates/etc/default/grub/GrubCmdLineLinux 2017-04-05 16:12:34.005000000 -0400
4 @@ -0,0 +1,12 @@
5 +{
6 + #GRUB_CMDLINE_LINUX="rd.lvm.lv=main/root rd.lvm.lv=main/swap rhgb quiet"
7 + # to GRUB_CMDLINE_LINUX="rd.lvm.lv=main/root rd.lvm.lv=main/swap rhgb quiet rootflags=uquota,pquota"
8 + # also remove noquota
9 + @lines = map {
10 + /^GRUB_CMDLINE_LINUX/ && s/noquota//;
11 + /^GRUB_CMDLINE_LINUX/ && ! /rootflags=uquota,pquota/ && s/"$/ rootflags=uquota,pquota"/;
12 + $_
13 + } @lines;
14 + "";
15 +}
16 +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed