forked from puppylinux-woof-CE/woof-CE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
11b5de4
commit 80b0793
Showing
7 changed files
with
1,009 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM puppylinux/getting-started:latest | ||
|
||
COPY README.md / | ||
RUN ls |
54 changes: 54 additions & 0 deletions
54
woof-distro/x86_64/ubuntu/mantic64/DISTRO_COMPAT_REPOS-ubuntu-mantic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# | ||
# Generic DISTRO_COMPAT_REPOS for WCE Upups | ||
# | ||
|
||
if [ "$DISTRO_COMPAT_VERSION" = "" ] ; then | ||
[ -f ./DISTRO_SPECS ] && . ./DISTRO_SPECS | ||
fi | ||
|
||
case "$DISTRO_TARGETARCH" in | ||
x86) DBIN_ARCH=i386 ;; | ||
x86_64) DBIN_ARCH=amd64 ;; | ||
esac | ||
|
||
case $DISTRO_COMPAT_VERSION in | ||
precise|trusty) DDB_COMP=bz2 ;; #older versions | ||
*) DDB_COMP=xz ;; | ||
esac | ||
|
||
#---------------------- | ||
#PKG_DOCS_DISTRO_COMPAT - where to download the compat-distro pkgs databases from | ||
#--------------------- | ||
# 1|2|3 | ||
# 1 - domain. for testing the url. | ||
# 2 - full URI of the database file. | ||
# 3 - name of db file when local and after being processed into standard format | ||
|
||
PKG_DOCS_DISTRO_COMPAT=" | ||
z|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/main/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-main | ||
z|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/universe/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-universe | ||
z|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/multiverse/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-multiverse | ||
z|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/restricted/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-restricted | ||
" | ||
|
||
#------------------- | ||
#REPOS_DISTRO_COMPAT - hardcode the compat-distro repos in here... | ||
#------------------- | ||
# 1|2|3 | ||
# 1 - domain. for testing the url. | ||
# 2 - full URI of the repo | ||
# 3 - name of db-file(s) associated with that repo. it may have glob wildcards. | ||
|
||
REPOS_DISTRO_COMPAT=" | ||
z|http://archive.ubuntu.com/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-* | ||
z|http://mirrors.kernel.org/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-* | ||
z|ftp.osuosl.org/pub/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-* | ||
" | ||
|
||
|
||
#--------------- | ||
# fix variables | ||
#--------------- | ||
PKG_DOCS_DISTRO_COMPAT="$(echo "$PKG_DOCS_DISTRO_COMPAT" | sed '/^$/d' | tr '\n' ' ' | sed 's% $%%')" | ||
REPOS_DISTRO_COMPAT="$(echo "$REPOS_DISTRO_COMPAT" | sed '/^$/d' | tr '\n' ' ' | sed 's% $%%')" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
#------------------ | ||
#PKG_DOCS_PET_REPOS - where to download the pet pkgs databases from. | ||
#------------------ | ||
# 1|2|3 | ||
# 1 - domain. for testing the url. | ||
# 2 - full URI of the database file. | ||
# 3 - name of db file when local and after being processed into standard format | ||
# (in the case of PET databases, the names are the same and no processing is required) | ||
|
||
# we don't use pet packages, so it's OK to always use testing | ||
WCE_BRANCH=testing | ||
|
||
PKG_DOCS_PET_REPOS=" | ||
z|https://raw.githubusercontent.com/puppylinux-woof-CE/woof-CE/${WCE_BRANCH}/woof-distro/Packages-puppy-noarch-official|z | ||
z|https://raw.githubusercontent.com/puppylinux-woof-CE/woof-CE/${WCE_BRANCH}/woof-distro/x86_64/Packages-puppy-common64-official|z | ||
z|https://distro.ibiblio.org/puppylinux/Packages-puppy-bionic64-official|z | ||
z|https://raw.githubusercontent.com/puppylinux-woof-CE/woof-CE/${WCE_BRANCH}/woof-distro/x86_64/ubuntu/xenial64/Packages-puppy-xenial64-official|z | ||
z|https://raw.githubusercontent.com/puppylinux-woof-CE/woof-CE/${WCE_BRANCH}/woof-distro/x86_64/ubuntu/Packages-puppy-tahr64-official|z | ||
z|https://distro.ibiblio.org/puppylinux/Packages-puppy-fossa64-official|z | ||
" | ||
|
||
#--------- | ||
#PET_REPOS - hardcode the pet repos in here... | ||
#--------- | ||
# 1|2|3 | ||
# 1 - domain. for testing the url. | ||
# 2 - full URI of the repo | ||
# 3 - name of db-file(s) associated with that repo. it may have glob wildcards. | ||
# ex: Packages-puppy-4-official (note, url paths are in the database) | ||
|
||
PET_REPOS=' | ||
z|http://distro.ibiblio.org/puppylinux|Packages-puppy-*-official | ||
z|http://ftp.nluug.nl/ftp/pub/os/Linux/distr/puppylinux|Packages-puppy-*-official | ||
z|http://ftp.cc.uoc.gr/mirrors/linux/puppylinux|Packages-puppy-*-official | ||
z|ftp://mirror.aarnet.edu.au/pub/puppylinux|Packages-puppy-*-official | ||
z|http://distro.ibiblio.org/puppylinux|Packages-puppy-*-official | ||
z|http://ftp.nluug.nl/ftp/pub/os/Linux/distr/puppylinux|Packages-puppy-*-official | ||
z|ftp://ftp.vcu.edu/pub/gnu+linux/puppylinux|Packages-puppy-*-official | ||
z|http://ftp.cc.uoc.gr/mirrors/linux/puppylinux|Packages-puppy-*-official | ||
z|http://mirror.aarnet.edu.au/pub/puppylinux|Packages-puppy-*-official | ||
z|http://mirror.internode.on.net/pub/puppylinux|Packages-puppy-*-official | ||
z|https://raw.githubusercontent.com/puppylinux-woof-CE/woof-CE-noarch/master|Packages-puppy-noarch-official | ||
' | ||
|
||
#---------------------- | ||
#PACKAGELISTS_PET_ORDER | ||
#---------------------- | ||
# this defines where Woof (and PPM) looks first and second | ||
# (and third, etc.) for pet pkgs | ||
|
||
PACKAGELISTS_PET_ORDER=" | ||
Packages-puppy-common64-official | ||
Packages-puppy-noarch-official | ||
Packages-puppy-bionic64-official | ||
Packages-puppy-xenial64-official | ||
Packages-puppy-tahr64-official | ||
Packages-puppy-fossa64-official | ||
" | ||
|
||
#--------------- | ||
# fix variables | ||
#--------------- | ||
PKG_DOCS_PET_REPOS="$(echo $PKG_DOCS_PET_REPOS)" | ||
PET_REPOS="$(echo $PET_REPOS)" | ||
PACKAGELISTS_PET_ORDER="$(echo $PACKAGELISTS_PET_ORDER)" | ||
|
Oops, something went wrong.