Commit 29076e14 authored by Valentin Bruch's avatar Valentin Bruch
Browse files

fixed bug in create_offlinerepo; remark in assemble image

parent da8e1ce5
......@@ -3,7 +3,7 @@
set -e
set -x
image_size="6400M"
image_size="6600M"
img1="kubuntu-20.04.3-desktop-amd64.iso"
img2="kubuntu-21.10-desktop-amd64.iso"
bootimg="$img1"
......@@ -43,6 +43,7 @@ cp packages "$workspace/part_files/packages"
rm -f "$workspace/part.img"
truncate -s "$image_size" "$workspace/part.img"
mkfs.vfat -n "LIPSTICK" "$workspace/part.img"
# Note: in *ubuntu 21.10 mcopy has a bug and option "-b" should be removed.
MTOOLS_SKIP_CHECK=1 mcopy -i "$workspace/part.img" -b -s -v "$workspace/part_files"/* "$workspace/part_files"/.git ::
rm -rf "$workspace/part_files"
grub-mkimage --prefix "(hd0,msdos1)/boot/grub" --output "$workspace/grub.i386-pc.img" --format "i386-pc" part_msdos fat ext2 biosdisk
......
......@@ -36,7 +36,7 @@ apt-get -o Dir="$workspace"/offlinerepo/squashfs-root update
{
apt-get -o Dir="$workspace"/offlinerepo/squashfs-root upgrade --print-uris -qq
apt-get -o Dir="$workspace"/offlinerepo/squashfs-root install --reinstall --print-uris -qq $packages
} | cut -d"'" -f2 | while read url; do wget -q -nc -P "$dest" "$url"; done
} | cut -s -d"'" -f2 | while read url; do wget -q -nc -P "$dest" "$url"; done
apt-get -o Dir="$workspace"/offlinerepo/squashfs-root install --reinstall --print-uris -qq $packages
mkdir -p "$dest/dists/$DISTRIB_CODENAME/lip/binary-amd64"
......
......@@ -29,7 +29,7 @@
P |wxmaxima|wxmaxima: Graphische Benutzeroberfläche für das Maxima Computer Algebra System
p |liblapack-dev|LAPACK: Eine Standard-Numerik-Bibliothek für Physiker und Numeriker
P |spyder spyder3|spyder: Python IDE (die, die in Anaconda benutzt wird)
P |jupyter-notebook|Python (Jupyter) Notebooks (Python 2 & 3)
P |jupyter-notebook|Python (Jupyter) Notebooks
i|postgresql|postgresql: Datenbank-Server. Nett um in der Datenbanken-Vorlesungen Dinge auszuprobieren
I|dia|dia: Graphisches Tool, um UML/ER Diagramme für die Vorlesungen Softwaretechnik und Datenbanken anzufertigen
I|ghc|ghc: Glaskow Haskell Compiler für die Vorlesung Programmierung
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment