Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lipck
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osak
lipck
Commits
ed21a716
Commit
ed21a716
authored
10 years ago
by
Christopher Spinrath
Browse files
Options
Downloads
Patches
Plain Diff
Cleaned up and prepared fill_offline repo for use by lipck
parent
7dbb10dc
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/rootfs/offline_repo_packages
+45
-0
45 additions, 0 deletions
contrib/rootfs/offline_repo_packages
scripts/fill_offline_repo.sh
+47
-6
47 additions, 6 deletions
scripts/fill_offline_repo.sh
with
92 additions
and
6 deletions
contrib/rootfs/offline_repo_packages
0 → 100644
+
45
−
0
View file @
ed21a716
#Packages that should go in the offline repository.
#Dependencies are included automatically.
#Common packages
gufw
pwgen
inkscape
gimp
subversion
git
graphviz
gnome
xubuntu-desktop
fityk
openssh-server
linux-firmware-nonfree
zsh
zsh-doc
lftp
gddrescue
#Physik
liblapack-dev
liblapack-doc
python-numpy
python-simpy
python-scipy
python-matplotlib
ipython
gnuplot
wxmaxima
root-system
bpython
#Informatik
postgresql
dia
haskell-platform
default-jdk
swi-prolog
#Mathematik
#Singular ist nicht in den Packetquellen :-(
#Aber wir brauchen Abhängigkeiten
libntl0
This diff is collapsed.
Click to expand it.
scripts/fill_offline_repo.sh
+
47
−
6
View file @
ed21a716
#!/bin/bash
#!/bin/bash
PKG_LIST
=
"gufw pwgen inkscape gimp subversion git graphviz gnome
\
xubuntu-desktop fityk openssh-server linux-firmware-nonfree zsh zsh-doc lftp gddrescue liblapack-dev liblapack-doc
\
python-numpy python-simpy python-scipy python-matplotlib ipython gnuplot wxmaxima root-system bpython
\
postgresql dia haskell-platform default-jdk swi-prolog libntl0
\
"
DESTINATION
=
"/cdrom"
#This file is part of lipck - the "linux install party customization kit" - and
#contains parts of UCK - the Ubuntu Customization Kit.
#
# Copyright (C) 2014 Christopher Spinrath
#
# lipck 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.
#
# lipck 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 lipck. If not, see <http://www.gnu.org/licenses/>.
set
-e
DESTINATION
=
"
${
1
:-
"/cdrom"
}
"
SCRIPT_DIR
=
"/remaster"
CONTRIB_DIR
=
"
$SCRIPT_DIR
/contrib/"
#source common functions (e.g. patch_all)
if
[
-e
"
$SCRIPT_DIR
/scripts/common_functions.sh"
]
;
then
source
"
$SCRIPT_DIR
/scripts/common_functions.sh"
fi
if
[
!
-d
"
$SCRIPT_DIR
"
]
;
then
echo
"Error: Missing remaster directory/files. Abort."
exit
2
fi
PKG_LIST
=
$(
get_packages_from_file
"
$CONTRIB_DIR
/offline_repo_packages"
)
PKG_DESTINATION
=
$DESTINATION
/archives
PKG_DESTINATION
=
$DESTINATION
/archives
#begin
#begin
echo
"creating structure..."
echo
"creating structure..."
mkdir
-p
$PKG_DESTINATION
/
mkdir
-p
$PKG_DESTINATION
/
echo
"done."
echo
"done."
#maybe not necessary, but lets do it
divert_initctl
echo
"Updating package lists..."
apt-get update
echo
"ok."
echo
"downloading archives. this may take some time..."
echo
"downloading archives. this may take some time..."
wget
-nc
-P
$PKG_DESTINATION
$(
apt-get
install
--reinstall
--print-uris
-qq
$PKG_LIST
|
cut
-d
"'"
-f2
)
wget
-nc
-P
$PKG_DESTINATION
$(
apt-get
install
--reinstall
--print-uris
-qq
$PKG_LIST
|
cut
-d
"'"
-f2
)
#wget -nc -P $PKG_DESTINATION $(apt-get -o APT::Architecture=$ARCHITECTURE install --reinstall --allow-unauthenticated --print-uris -qq $PKG_LIST | cut -d"'" -f2)
#wget -nc -P $PKG_DESTINATION $(apt-get -o APT::Architecture=$ARCHITECTURE install --reinstall --allow-unauthenticated --print-uris -qq $PKG_LIST | cut -d"'" -f2)
revert_initctl
echo
"updating package lists..."
echo
"updating package lists..."
apt-get update
apt-get update
echo
"done."
echo
"done."
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment