fixed timezone, firefox in french, optional grub and isolinux folders
This commit is contained in:
parent
e8e7f392a6
commit
2d2defecae
@ -2,7 +2,7 @@
|
||||
set -eE
|
||||
|
||||
function clean() {
|
||||
echo "==== CLEAN ERR ===="
|
||||
echo "==== CLEAN ===="
|
||||
sudo umount "$WORKDIR/squashfs" || :
|
||||
sudo umount /tmp/livecd || :
|
||||
}
|
||||
@ -59,12 +59,16 @@ echo "==== Install extensions ===="
|
||||
sudo cp "$SPATH/firefox/extensions/"* "$WORKDIR/custom/usr/lib/firefox/distribution/extensions/"
|
||||
|
||||
echo "==== Mod ISOLINUX (BIOS) AND GRUB (EFI) ===="
|
||||
if [[ -d isolinux ]]; then
|
||||
# isolinux
|
||||
chmod -R +w "$WORKDIR/cd/isolinux"
|
||||
cp isolinux/* "$WORKDIR/cd/isolinux/"
|
||||
fi
|
||||
if [[ -d grub ]]; then
|
||||
# grub
|
||||
chmod -R +w "$WORKDIR/cd/boot/grub"
|
||||
cp grub/* "$WORKDIR/cd/boot/grub/"
|
||||
fi
|
||||
|
||||
# setup iso
|
||||
echo "==== Setup ISO ===="
|
||||
|
4
tasks.sh
4
tasks.sh
@ -7,11 +7,13 @@ mount -t devpts none /dev/pts/
|
||||
|
||||
# set timezone
|
||||
echo "Europe/Paris" > /etc/timezone
|
||||
ln -sf /usr/share/zoneinfo/$(cat /etc/timezone /etc/localtime
|
||||
ln -sf /usr/share/zoneinfo/$(cat /etc/timezone) /etc/localtime
|
||||
dpkg-reconfigure -f noninteractive tzdata
|
||||
|
||||
sudo apt-get update
|
||||
|
||||
sudo apt-get upgrade -y
|
||||
|
||||
# install lang pack
|
||||
lang=fr
|
||||
for l in $(cat /usr/share/linuxmint/mintlocale/language_packs); do
|
||||
|
Reference in New Issue
Block a user