diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 23 |
1 files changed, 5 insertions, 18 deletions
@@ -9,8 +9,8 @@ Currently I am using the following setup: APTCACHEHARDLINK=yes DISTRIBUTION="$DIST" DEBOOTSTRAPOPTS=("--arch" "$ARCH" - "--keyring=/usr/share/keyrings/debian-archive-keyring.gpg" "${DEBOOTSTRAPOPTS[@]}") + APTKEYRINGS="/home/jranke/.gnupg/pubring.gpg" BASETGZ="`dirname $BASETGZ`/$NAME-base.tgz" BUILDRESULT="/var/cache/pbuilder/$NAME/result/" APTCACHE="/var/cache/pbuilder/$NAME/aptcache/" @@ -22,31 +22,18 @@ This means I have the appropriate aptcache and buildresult directories set up under /var/cache/pbuilder. I have several pbuilder images used for package creation under /var/cache/pbuilder, among others: - /var/cache/pbuilder/jessie-i386-base.tgz + /var/cache/pbuilder/buster-i386-base.tgz With the pbuilderrc mentioned above, this can be created as a normal user with export ARCH=i386 - export DIST=jessie + export DIST=buster sudo -E pbuilder create -Then, using - - sudo -E pbuilder login --save-after-login - -these have a standard Debian mirror, the security sources setup in their -/etc/apt/sources.list, as well as my local http package source where the r-base -package build results are available. I have also imported the apt key of my -repository inside the pbuilder chroots. - -For some reason, the keyring option to debootstrap is not used (necessary on -Ubuntu) so I needed to pass this on the commandline when building the pbuilder -chroot for wheezy-i386. - When using these scripts on Debian, I used to configure sudo to allow my normal user to use pbuilder, apt-get and the backporting scripts. Currently, I have -set up my jessie installation using the Ubuntu like sudo configuration that -I selected during the original installation of wheezy. +set up my Debian installations using the Ubuntu like sudo configuration that +I select during the installation. I am building other architectures on different machines (raspi: armxx) or in a local chroot (amd64). |