diff --git a/legacy_scripts/customize b/legacy_scripts/customize deleted file mode 100755 index 235ef6e7a773c81e299cf5a9d742d4e3bf650b4a..0000000000000000000000000000000000000000 --- a/legacy_scripts/customize +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/bash - -#is this true for all uck versions?? -SCRIPT_DIR=`dirname "$0"` - -#source common functions (e.g. patch_all) -if [ -e "$SCRIPT_DIR/customize_common" ]; then - source "$SCRIPT_DIR/customize_common" -fi - -function prepare_install() -{ - #if [ -e "$SCRIPT_DIR/lip_sources.list" ]; then - # cp -v "$SCRIPT_DIR/lip_sources.list" "/etc/apt/sources.list" - #fi - - #moved to liprepoctl.sh - #echo "# offline repository of the linux install party -#deb [ trusted=yes ] file:/cdrom/archives precise lip" > /etc/apt/sources.list.d/lipoffline.list - - #uncomment if newest texlive is not part of your distribution - #add-apt-repository -y ppa:texlive-backports/ppa - - apt-get update -} - -function install_packages() -{ - apt-get upgrade --assume-yes --force-yes - apt-get install aptitude -y - - #aptitude full-upgrade -y # make sure we have the newest versions - # Some daily images do not have a kernel ?!? - - #uncomment this if you remaster a daily build (fix kernel version!) - #aptitude reinstall linux-image-generic-lts-raring -y - #apt-cache depends linux-image-generic-lts-raring | tail -n+2 | awk '{print $NF}' | xargs aptitude reinstall -y - - aptitude install firefox thunderbird kfind kompare xloadimage gpsd-clients kde-config-gtk-style -y - aptitude install automake cmake aspell-de build-essential ffmpeg htop hunspell lvm2 mencoder screen tofrodos efibootmgr gdisk linux-headers vlc moreutils network-manager-vpnc vim -y # install general packages - aptitude install --without-recommends mdadm -y # install mdadm without mailserver - aptitude install chktex cm-super context dvidvi dvipng feynmf fragmaster info lacheck latex-beamer latex-cjk-all latexdiff latexmk latex-sanskrit latex-xcolor lcdf-typetools lmodern pgf prosper psutils purifyeps t1utils tex4ht tex-gyre texinfo texlive-base texlive-bibtex-extra texlive-binaries texlive-extra-utils texlive-fonts-extra texlive-fonts-recommended texlive-font-utils texlive-formats-extra texlive-games texlive-generic-extra texlive-generic-recommended texlive-humanities texlive-lang-english texlive-lang-german texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-luatex texlive-math-extra texlive-metapost texlive-music texlive-omega texlive-pictures texlive-plain-extra texlive-pstricks texlive-publishers texlive-science texlive-xetex tipa xindy -y - aptitude install hunspell-de-de language-pack-de language-pack-support-de wngerman wogerman wswiss poppler-data libreoffice-l10n-de libreoffice-help-de hyphen-de mythes-de thunderbird-locale-de firefox-locale-de -y # install german language support - - MISSING_LANG_PKG="$(check-language-support -l de_DE)" - MISSING_LANG_PKG="$(check-language-support -l en_US) $MISSING_LANG_PKG" # check for missing packages for de_DE and en_US - - if [ -n "$MISSING_LANG_PKG" ]; then - aptitude install $MISSING_LANG_PKG -y - fi - - EXTRA_LANG_PKG="$(dpkg-query --show | cut -f1 | grep -E '^(language-pack|language-support|firefox-locale|thunderbird-locale|libreoffice-help|libreoffice-l10n)' | grep -Ev "[-](de|en)\>")" # remove extra language packages - - if [ -n "$EXTRA_LANG_PKG" ]; then - aptitude purge $EXTRA_LANG_PKG -y - fi - - install_debs "$SCRIPT_DIR/debs/" -} - -function finalize() -{ - echo -n "Europe/Berlin" > /etc/timezone - - rm -rf /var/crash/* -} - -function install_kde_defaults() -{ - mkdir -p /etc/skel/.kde/share/config/ - cp "$SCRIPT_DIR/kde_config/"* /etc/skel/.kde/share/config/ -} - -prepare_install -install_packages - -install_kde_defaults -#moved to initrd -#cp "$SCRIPT_DIR/no-bootloader-icon/ubiquity-gtkui-no-bootloader.desktop" /usr/share/applications/ - -#patch rootfs -patch_all "$SCRIPT_DIR/rootfs-patches/" "/" - -#i.e. required for applying default-wallpaper patch -#echo "compiling glib2 schemas..." -#glib-compile-schemas /usr/share/glib-2.0/schemas - -finalize diff --git a/legacy_scripts/customize_initrd b/legacy_scripts/customize_initrd deleted file mode 100755 index aa9d92e7a41f38890c5d54c48a921ba794d5c897..0000000000000000000000000000000000000000 --- a/legacy_scripts/customize_initrd +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/bash - -################################################################################### -# UCK - Ubuntu Customization Kit # -# Copyright (C) 2006-2010 UCK Team # -# # -# UCK is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# UCK is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with UCK. If not, see <http://www.gnu.org/licenses/>. # -################################################################################### - -REMASTER_HOME=$1 -REMASTER_DIR="$REMASTER_HOME/remaster-root" -INITRD_REMASTER_DIR="$REMASTER_HOME/remaster-initrd" - -echo "Using REMASTER_DIR=$REMASTER_DIR, INITRD_REMASTER_DIR=$INITRD_REMASTER_DIR" - -IRD="$INITRD_REMASTER_DIR" -SCRIPT_DIR="`dirname $0`" - -if [ -e "$SCRIPT_DIR/customize_common" ]; then - source "$SCRIPT_DIR/customize_common" -fi - -function install_nmtelekinese() -{ - mkdir -p "$IRD/lip/nm" - cp "$SCRIPT_DIR/nmtelekinese/nmtelekinese.desktop" "$IRD/lip/nm" - cp "$SCRIPT_DIR/nmtelekinese/nmtelekinese.py" "$IRD/lip/nm" - cp "$SCRIPT_DIR/nmtelekinese/26mopsmops" "$IRD/scripts/casper-bottom/" - chmod +x "$IRD/scripts/casper-bottom/26mopsmops" -} - -function install_libnsa() -{ - mkdir -p "$IRD/lip/libnsa" - cp "$SCRIPT_DIR/libnsa/libnsa.desktop" "$IRD/lip/libnsa" - cp "$SCRIPT_DIR/libnsa/libnsa.sh" "$IRD/lip/libnsa" - cp "$SCRIPT_DIR/libnsa/26libnsa" "$IRD/scripts/casper-bottom/" - chmod +x "$IRD/lip/libnsa/libnsa.sh" - chmod +x "$IRD/scripts/casper-bottom/26libnsa" -} - -function add_no_bootloader_icon() -{ - mkdir -p "$IRD/lip/no-bootloader-icon" - cp "$SCRIPT_DIR/no-bootloader-icon/ubiquity-kdeui.desktop" "$IRD/lip/no-bootloader-icon/" -# cp "$SCRIPT_DIR/no-bootloader-icon/ubiquity-kdeui-no-bootloader.desktop" "$IRD/lip/no-bootloader-icon/" - - cp "$SCRIPT_DIR/no-bootloader-icon/25adduser" "$IRD/scripts/casper-bottom/" - chmod +x "$IRD/scripts/casper-bottom/25adduser" -} - -mkdir -p "$IRD/lip" -install_nmtelekinese -#install_libnsa -add_no_bootloader_icon - -#copy custom lip hook -cp "$SCRIPT_DIR/initrd_hook/24liphook" "$IRD/scripts/casper-bottom/" -chmod +x "$IRD/scripts/casper-bottom/24liphook" -cp "$SCRIPT_DIR/initrd_hook/ORDER" "$IRD/scripts/casper-bottom/" - -patch_all "$SCRIPT_DIR/initrd-patches/" "$IRD"