diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -15,7 +15,7 @@ Currently I am using the following setup: BUILDRESULT="/var/cache/pbuilder/$NAME/result/" APTCACHE="/var/cache/pbuilder/$NAME/aptcache/" MIRRORSITE="http://ftp.de.debian.org/debian/" - OTHERMIRROR="deb http://security.debian.org $DIST/updates main|deb http://ftp.de.debian.org/debian $DIST-backports main|deb http://localhost/r-cran $DIST-cran35/" + OTHERMIRROR="deb http://security.debian.org $DIST/updates main|deb http://ftp.de.debian.org/debian $DIST-backports main|deb http://localhost/r-cran $DIST-cran40/" COMPONENTS="main" This means I have the appropriate aptcache and buildresult directories set up @@ -56,11 +56,20 @@ Then I add a new entry in /etc/schroot/schroot.conf like profile=default directory=/var/chroot/bullseye-amd64 -and use sudo schroot -c bullseye64 to enter it. Within the chroot I install vim -and add the matching local r-cran repository to /etc/apt/sources.list like +and use sudo schroot -c bullseye64 to enter it. Within the chroot I install +some necessary or useful stuff + + apt install vim gnupg build-essential devscripts + +add the matching local r-cran repository to /etc/apt/sources.list like deb http://localhost/r-cran bullseye-cran40/ deb-src http://localhost/r-cran bullseye-cran40/ +and tell apt to trust my key (from my Debian CRAN page): + + gpg --keyserver keyserver.ubuntu.com --recv-key '95C0FAF38DB3CCAD0C080A7BDC78B2DDEABC47B7' + gpg --armor --export '95C0FAF38DB3CCAD0C080A7BDC78B2DDEABC47B7' > /etc/apt/trusted.gpg.d/cran_debian_key.asc + In the chroot, build-essential and devscripts have to be installed |