Skip to content
Snippets Groups Projects
Commit e767bdf1 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

...

parent b875ca5e
Branches
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ SUSE_REPOS:=$(addprefix $(REPOS_ROOT),$(SUSE_REPOS))
DEB_REPOS=Ubuntu_18.04
DEB_REPOS:=$(addprefix $(REPOS_ROOT),$(DEB_REPOS))
DEB_REPO_BIONIC=$(addprefix $(REPOS_ROOT),"Ubuntu_18.04")
DEB_REPO_BIONIC=$(addprefix $(REPOS_ROOT),Ubuntu_18.04)
all: init_suse init_deb_bionic upload
#all: init_suse upload
......@@ -37,10 +37,23 @@ init_deb:
gzip -9c > Packages.gz) \
done
init_deb_bionic:
init_deb_bionicXXX:
cd $(DEB_REPO_BIONIC); \
rm -rf pool/main/*
reprepro includedeb bionic *.deb | gzip -9c > Packages.gz
init_deb_bionic:
reprepro -b $(DEB_REPO_BIONIC) --force --verbose includedeb bionic *.deb | \
gzip -9c > Packages.gz
init_debXXX:
@for i in $(DEB_REPOS); \
do \
(cd "$$i"; dpkg-scanpackages ../../ | gzip -9c > Packages.gz) \
done
# reprepro -b repos/Ubuntu_18.04/ deleteunreferenced
upload:
rsync -avz --delete --exclude=KEY.gpg ./repos \
root@$(TARGET_SERVER):$(TARGET_PATH)
......@@ -50,3 +63,4 @@ debug:
@echo $(SUSE_REPOS)
@echo $(DEB_REPOS)
# https://wiki.ubuntuusers.de/reprepro/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment