gnu_linux_server:debian_packaging:debian_packaging_compilation_env
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| gnu_linux_server:debian_packaging:debian_packaging_compilation_env [2014/02/20 23:48] – external edit 127.0.0.1 | gnu_linux_server:debian_packaging:debian_packaging_compilation_env [2021/01/04 20:41] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| En réalité, **cowbuilder** est un simple outil utilisant **pbuilder**. On peut voir ça comme une surcouche un peu comme **aptitude** par rapport à **apt**. L' | En réalité, **cowbuilder** est un simple outil utilisant **pbuilder**. On peut voir ça comme une surcouche un peu comme **aptitude** par rapport à **apt**. L' | ||
| - | <code bash>aptitude | + | <code bash>apt-get |
| ===== Configuration ===== | ===== Configuration ===== | ||
| Line 20: | Line 20: | ||
| # needed. | # needed. | ||
| UNSTABLE_CODENAME=" | UNSTABLE_CODENAME=" | ||
| - | TESTING_CODENAME=" | + | TESTING_CODENAME=" |
| - | STABLE_CODENAME=" | + | STABLE_CODENAME=" |
| STABLE_BACKPORTS_SUITE=" | STABLE_BACKPORTS_SUITE=" | ||
| Line 27: | Line 27: | ||
| DEBIAN_SUITES=($UNSTABLE_CODENAME $TESTING_CODENAME $STABLE_CODENAME | DEBIAN_SUITES=($UNSTABLE_CODENAME $TESTING_CODENAME $STABLE_CODENAME | ||
| " | " | ||
| - | PBUILDERSATISFYDEPENDSCMD="/ | ||
| # List of Ubuntu suites. Update these when needed. | # List of Ubuntu suites. Update these when needed. | ||
| - | UBUNTU_SUITES=(" | + | UBUNTU_SUITES=(" |
| # Mirrors to use. Update these to your preferred mirror. | # Mirrors to use. Update these to your preferred mirror. | ||
| Line 40: | Line 39: | ||
| if [ -z " | if [ -z " | ||
| DIST=$(dpkg-parsechangelog | awk '/ | DIST=$(dpkg-parsechangelog | awk '/ | ||
| + | DIST=" | ||
| # Use the unstable suite for certain suite values. | # Use the unstable suite for certain suite values. | ||
| if $(echo " | if $(echo " | ||
| Line 72: | Line 72: | ||
| DEBOOTSTRAPOPTS=(" | DEBOOTSTRAPOPTS=(" | ||
| fi | fi | ||
| - | + | # BASETGZ="/ | |
| - | # | + | |
| # Optionally, set BASEPATH (and not BASETGZ) if using cowbuilder | # Optionally, set BASEPATH (and not BASETGZ) if using cowbuilder | ||
| BASEPATH="/ | BASEPATH="/ | ||
| Line 86: | Line 85: | ||
| COMPONENTS=" | COMPONENTS=" | ||
| DEBOOTSTRAPOPTS=(" | DEBOOTSTRAPOPTS=(" | ||
| + | |||
| elif $(echo ${UBUNTU_SUITES[@]} | grep -q $DIST); then | elif $(echo ${UBUNTU_SUITES[@]} | grep -q $DIST); then | ||
| # Ubuntu configuration | # Ubuntu configuration | ||
| Line 91: | Line 91: | ||
| COMPONENTS=" | COMPONENTS=" | ||
| DEBOOTSTRAPOPTS=(" | DEBOOTSTRAPOPTS=(" | ||
| + | OTHERMIRROR=" | ||
| else | else | ||
| echo " | echo " | ||
| exit 1 | exit 1 | ||
| - | fi</ | + | fi |
| + | </ | ||
| ===== Utilisation ===== | ===== Utilisation ===== | ||
gnu_linux_server/debian_packaging/debian_packaging_compilation_env.1392940084.txt.gz · Last modified: 2021/01/04 20:40 (external edit)
