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
TARDIS
Commits
29076e14
Commit
29076e14
authored
Oct 17, 2021
by
Valentin Bruch
Browse files
fixed bug in create_offlinerepo; remark in assemble image
parent
da8e1ce5
Changes
3
Hide whitespace changes
Inline
Side-by-side
assemble_image.sh
View file @
29076e14
...
...
@@ -3,7 +3,7 @@
set
-e
set
-x
image_size
=
"6
4
00M"
image_size
=
"6
6
00M"
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
...
...
create_offlinerepo.sh
View file @
29076e14
...
...
@@ -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"
...
...
packages
View file @
29076e14
...
...
@@ -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
...
...
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