make-casper: disabled ureadahead, removed /cow hack
This commit is contained in:
parent
0cd667480b
commit
40fff6b802
1 changed files with 5 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2012-2017 Ruben Rodriguuez <ruben@trisquel.info>
|
# Copyright (C) 2012-2018 Ruben Rodriguuez <ruben@trisquel.info>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|
@ -17,16 +17,16 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=5
|
VERSION=6
|
||||||
|
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
# Get rid of /cow showing in the desktop
|
|
||||||
sed '/tmpfs/ s:$:\n/dev/loop1 /cow ext3 noauto 0 0:' scripts/casper-bottom/12fstab -i
|
|
||||||
|
|
||||||
# Only generate the locale selected at boot
|
# Only generate the locale selected at boot
|
||||||
sed 's/keep-existing/keep-existing $LANG/' -i scripts/casper-bottom/14locales
|
sed 's/keep-existing/keep-existing $LANG/' -i scripts/casper-bottom/14locales
|
||||||
|
|
||||||
|
# Make sure we disable ureadahead
|
||||||
|
sed 's/readahead-list/ureadahead/' -i scripts/casper-bottom/25configure_init
|
||||||
|
|
||||||
# Adapt 30accessibility to mate desktop
|
# Adapt 30accessibility to mate desktop
|
||||||
for profile in blindness braille high-contrast onscreen-keyboard; do
|
for profile in blindness braille high-contrast onscreen-keyboard; do
|
||||||
sed "s/setup_profile $profile/setup_profile mate-$profile/" -i scripts/casper-bottom/30accessibility
|
sed "s/setup_profile $profile/setup_profile mate-$profile/" -i scripts/casper-bottom/30accessibility
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue