Skip to content
Snippets Groups Projects
Commit dfafd08f authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

casper: Only generate the locale selected at boot

parent a75a309c
No related branches found
No related tags found
1 merge request!183Fix geoip-database-contrib
#!/bin/sh #!/bin/sh
# #
# Copyright (C) 2012-2016 Ruben Rodriguuez <ruben@trisquel.info> # Copyright (C) 2012-2017 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,13 +17,16 @@ ...@@ -17,13 +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=1 VERSION=2
. ./config . ./config
# Get rid of /cow showing in the desktop # Get rid of /cow showing in the desktop
sed '/tmpfs/ s:$:\n/dev/loop1 /cow ext3 noauto 0 0:' scripts/casper-bottom/12fstab -i 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
rm scripts/casper-premount/10driver_updates rm scripts/casper-premount/10driver_updates
rm scripts/casper-bottom/33enable_apport_crashes rm scripts/casper-bottom/33enable_apport_crashes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment