make-casper: disabled ureadahead, removed /cow hack

This commit is contained in:
Ruben Rodriguez 2018-04-01 23:24:25 -04:00
parent 0cd667480b
commit 40fff6b802

View file

@ -1,6 +1,6 @@
#!/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
# 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
#
VERSION=5
VERSION=6
. ./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
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
for profile in blindness braille high-contrast onscreen-keyboard; do
sed "s/setup_profile $profile/setup_profile mate-$profile/" -i scripts/casper-bottom/30accessibility