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