diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2020-04-25 00:05:41 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2020-04-25 00:05:41 +0200 |
commit | 7e750f644cbbc9ad35cbdc4f4909b52faede853d (patch) | |
tree | 8cc7a5f584e574432de5730e652ffe535e698ab6 /README | |
parent | a6ec2095b8940f9f9ce22f0641e743ce752c5725 (diff) |
Changes for backports of R 4.0.0 to bullseye and buster
Diffstat (limited to 'README')
-rw-r--r-- | README | 31 |
1 files changed, 29 insertions, 2 deletions
@@ -1,5 +1,5 @@ This directory contains my scripts to build backports of R software from Debian -sid to older Debian distributions. +sid or even experimental to older Debian distributions. Currently I am using the following setup: @@ -27,9 +27,13 @@ creation under /var/cache/pbuilder, among others: With the pbuilderrc mentioned above, this can be created as a normal user with export ARCH=i386 - export DIST=buster + export DIST=bullseye sudo -E pbuilder create +We also need to create the build directory: + + sudo mkdir /var/cache/pbuilder/bullseye-i386/build + 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 Debian installations using the Ubuntu like sudo configuration that @@ -37,3 +41,26 @@ I select during the installation. I am building other architectures on different machines (raspi: armxx) or in a local chroot (amd64). + +For creating a local chroot, I am using (e.g. for bullseye) + + cd /var/chroot + sudo mkdir bullseye-amd64 + sudo debootstrap bullseye bullseye-amd64 http://ftp.de.debian.org/debian/ + +Then I add a new entry in /etc/schroot/schroot.conf like + + [bullseye64] + description=Debian bullseye 64-bit + type=directory + 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 + + deb http://localhost/r-cran bullseye-cran40/ + deb-src http://localhost/r-cran bullseye-cran40/ + +In the chroot, build-essential and devscripts have to be installed + |