Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
osak
materials
Commits
44c285b7
Commit
44c285b7
authored
Sep 13, 2012
by
Daniel Schulte
Browse files
Updated scripts
parent
43a75893
Changes
7
Hide whitespace changes
Inline
Side-by-side
shellscripte/Lipuntu.sh
View file @
44c285b7
...
...
@@ -56,9 +56,12 @@ deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
"
>
/etc/apt/sources.list
apt-get update
apt-get
install
aptitude
apt-get
install
aptitude
-y
aptitude full-upgrade
aptitude full-upgrade
-y
aptitude
install
automake cmake aspell-de build-essential ffmpeg htop hunspell hunspell-de-de language-pack-de lvm2 mencoder screen synaptic tofrodos efibootmgr gdisk linux-headers vlc moreutils
aptitude
install
--without-recommends
mdadm
#aptitude install cm-super context feynmf fragmaster info latex-beamer latex-xcolor latexmk pgf psutils t1utils texinfo texlive-base texlive-bibtex-extra texlive-binaries texlive-common texlive-doc-base texlive-doc-de texlive-doc-en texlive-extra-utils texlive-font-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-formats-extra texlive-games texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-lang-german texlive-latex-base texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended texlive-latex-recommended-doc texlive-latex3 texlive-luatex texlive-math-extra texlive-metapost texlive-metapost-doc texlive-music texlive-omega texlive-pictures texlive-pictures-doc texlive-plain-extra texlive-pstricks texlive-pstricks-doc texlive-publishers texlive-publishers-doc texlive-science texlive-science-doc texlive-xetex
aptitude
install
cm-super context feynmf fragmaster info latex-beamer latex-xcolor latexmk pgf psutils t1utils texinfo texlive-base texlive-bibtex-extra texlive-binaries texlive-common texlive-doc-base texlive-doc-de texlive-doc-en texlive-extra-utils texlive-font-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-formats-extra texlive-games texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-lang-german texlive-latex-base texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended texlive-latex-recommended-doc texlive-latex3 texlive-luatex texlive-math-extra texlive-metapost texlive-metapost-doc texlive-music texlive-omega texlive-pictures texlive-pictures-doc texlive-plain-extra texlive-pstricks texlive-pstricks-doc texlive-publishers texlive-publishers-doc texlive-science texlive-science-doc texlive-xetex
echo
-n
"Europe/Berlin"
>
/etc/timezone
rm
/var/crash/
*
shellscripte/adduser.patch
0 → 100644
View file @
44c285b7
--- scripts/casper-bottom/25adduser
+++ scripts/casper-bottom/25adduser
@@ -81,12 +81,11 @@
if [ "$LTS" = "LTS" ] && [ -n "$RELEASE" ]; then
RELEASE="$RELEASE LTS"
fi
-for file in /usr/share/applications/ubiquity-gtkui.desktop /usr/share/applications/kde4/ubiquity-kdeui.desktop; do
+for file in /usr/share/applications/ubiquity-gtkui.desktop /usr/share/applications/kde4/ubiquity-gtkui-no-bootloader.desktop; do
if [ -f "/root/$file" ]; then
sed -i "s/RELEASE/$RELEASE/" "/root$file"
chroot /root install -d -o $USERNAME -g $USERNAME /home/$USERNAME/Desktop
chroot /root install -D -o $USERNAME -g $USERNAME $file /home/$USERNAME/Desktop/$(basename "$file")
- break
fi
done
shellscripte/bootloader.patch
0 → 100644
View file @
44c285b7
--- ubiquity-gtkui.desktop 2012-08-16 03:53:03.000000000 +0000
+++ ubiquity-gtkui-no-bootloader.desktop 2012-09-13 13:01:59.458137174 +0000
@@ -2,7 +2,7 @@
Type=Application
Version=1.0
# Do not translate the word "RELEASE". It is used as a marker by casper.
-Name=Install RELEASE
+Name=Install RELEASE (without bootloader)
Name[am]=የተለቀቀውን መግጠሚያ
Name[ar]=ثبّت RELEASE
Name[ast]=Instalar RELEASE
@@ -13,7 +13,7 @@
Name[ca]=Instal·la la versió RELEASE
Name[cs]=Nainstalovat RELEASE
Name[da]=Installér RELEASE
-Name[de]=RELEASE installieren
+Name[de]=RELEASE installieren (ohne Bootloader)
Name[el]=Εγκατάσταση RELEASE
Name[eo]=Instali RELEASE
Name[es]=Instalar RELEASE
shellscripte/create_shortcut.sh
0 → 100644
View file @
44c285b7
#!/bin/bash
pushd
/usr/share/applications/
cp
ubiquity-gtkui.desktop ubuquity-gtkui-no-bootloader.desktop
patch ubiquity-gtkui-no-bootloader.desktop /root/bootloader.patch
popd
shellscripte/patch_initrd.sh
0 → 100644
View file @
44c285b7
#!/bin/bash
mkdir
initrd_edit
cd
initrd_edit
echo
"Extracting initrd..."
lzma
-dc
-S
.lz ../initrd.lz | cpio
-imvd
--no-absolute-filenames
mv
../initrd.lz ../initrd.lz.org
echo
"OK!"
echo
"Patching..."
pwd
patch scripts/casper-bottom/25adduser ../adduser.patch
echo
"OK!"
echo
"Recompressing..."
find
.
| cpio
--quiet
--dereference
-o
-H
newc | lzma
-7
>
../initrd.lz
echo
"OK!"
cd
..
echo
"Done"
exit
0
shellscripte/pa
ck
_initrd.sh
→
shellscripte/pa
tch
_initrd.sh
~
100755 → 100644
View file @
44c285b7
#!/bin/bash
cd
~/initrd_edit
mkdir
initrd_edit
cd
initrd_edit
lzma
-dc
-S
.lz ../initrd.lz | cpio
-imvd
--no-absolute-filenames
mv
../initrd.lz ../initrd.lz.org
patch adduser.patch
find
.
| cpio
--quiet
--dereference
-o
-H
newc | lzma
-7
>
../initrd.lz
cd
..
shellscripte/unpack_initrd.sh
deleted
100755 → 0
View file @
43a75893
#!/bin/bash
mkdir
-p
~/initrd_edit
cd
~/initrd_edit
lzma
-dc
-S
.lz ~/tmp/remaster-iso/casper/initrd.lz | cpio
-imvd
--no-absolute-filenames
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment