Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vl-repos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
vaclab
vl-repos
Commits
60b06514
Commit
60b06514
authored
5 years ago
by
Rolf Niepraschk
Browse files
Options
Downloads
Patches
Plain Diff
spezielle Regel pro Ubuntu-Version
parent
bca9c535
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+8
-2
8 additions, 2 deletions
Makefile
README.md
+1
-1
1 addition, 1 deletion
README.md
with
9 additions
and
3 deletions
Makefile
+
8
−
2
View file @
60b06514
...
@@ -16,7 +16,9 @@ SUSE_REPOS:=$(addprefix $(REPOS_ROOT),$(SUSE_REPOS))
...
@@ -16,7 +16,9 @@ SUSE_REPOS:=$(addprefix $(REPOS_ROOT),$(SUSE_REPOS))
DEB_REPOS
=
"Ubuntu_18.04"
DEB_REPOS
=
"Ubuntu_18.04"
DEB_REPOS
:=
$(
addprefix
$(
REPOS_ROOT
)
,
$(
DEB_REPOS
))
DEB_REPOS
:=
$(
addprefix
$(
REPOS_ROOT
)
,
$(
DEB_REPOS
))
all
:
init_suse init_deb upload
DEB_REPO_BIONIC
=
$(
addprefix
$(
REPOS_ROOT
)
,
"Ubuntu_18.04"
)
all
:
init_suse init_deb_bionic upload
#all: init_suse upload
#all: init_suse upload
init_suse
:
init_suse
:
...
@@ -27,7 +29,7 @@ init_debX:
...
@@ -27,7 +29,7 @@ init_debX:
do
\
do
\
(
cd
"
$$
i"
;
dpkg-scanpackages ./ |
gzip
-9c
>
Packages.gz
)
\
(
cd
"
$$
i"
;
dpkg-scanpackages ./ |
gzip
-9c
>
Packages.gz
)
\
done
done
init_deb
:
init_deb
:
@
for
i
in
$(
DEB_REPOS
);
\
@
for
i
in
$(
DEB_REPOS
);
\
do
\
do
\
...
@@ -35,6 +37,10 @@ init_deb:
...
@@ -35,6 +37,10 @@ init_deb:
gzip
-9c
>
Packages.gz
)
\
gzip
-9c
>
Packages.gz
)
\
done
done
init_deb_bionic
:
cd
$(
DEB_REPO_BIONIC
);
\
reprepro includedeb bionic
*
.deb |
gzip
-9c
>
Packages.gz
upload
:
upload
:
rsync
-avz
--delete
./repos root@
$(
TARGET_SERVER
)
:
$(
TARGET_PATH
)
rsync
-avz
--delete
./repos root@
$(
TARGET_SERVER
)
:
$(
TARGET_PATH
)
ssh root@
$(
TARGET_SERVER
)
'chown -R wwwrun.www
$(
TARGET_PATH
)
*'
ssh root@
$(
TARGET_SERVER
)
'chown -R wwwrun.www
$(
TARGET_PATH
)
*'
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
60b06514
...
@@ -40,6 +40,6 @@ sudo zypper addrepo \
...
@@ -40,6 +40,6 @@ sudo zypper addrepo \
**Beispiel:**
**Beispiel:**
```
```
sudo echo 'deb [arch=amd64] http://a73435.berlin.ptb.de:84/repos/Ubuntu_18.04/ bionic main' > \
sudo echo 'deb [arch=amd64] http://a73435.berlin.ptb.de:84/repos/Ubuntu_18.04/ bionic main' > \
/etc/apt/sources.list.d/vaclab.list
/etc/apt/sources.list.d/vaclab.list
curl -L http://a73435.berlin.ptb.de:84/repos/Ubuntu_18.04/KEY.gpg | sudo apt-key add -
curl -L http://a73435.berlin.ptb.de:84/repos/Ubuntu_18.04/KEY.gpg | sudo apt-key add -
```
```
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