From 5060b705b0ab1d91909c91cf2935f22282ee1dff Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 29 Oct 2023 11:16:19 +0100 Subject: Add 64bit pbuilder notes --- open_issues/64-bit_port.mdwn | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'open_issues/64-bit_port.mdwn') diff --git a/open_issues/64-bit_port.mdwn b/open_issues/64-bit_port.mdwn index 7323f1d6..b3e826b7 100644 --- a/open_issues/64-bit_port.mdwn +++ b/open_issues/64-bit_port.mdwn @@ -129,6 +129,32 @@ For now it's quite empty (not even gcc), but it can be debootstrapped. That will debootstrap --foreign --verbose --arch hurd-amd64 --extra-suites=unreleased --include=debian-ports-archive-keyring --keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg sid chroot-hurd-amd64 https://deb.debian.org/debian-ports/ +**Creating a pbuilder chroot** + +Here is a sample `/etc/pbuilderrc`: + + MIRRORSITE=https://people.debian.org/~sthibault/tmp/hurd-amd64 + AUTOCLEANAPTCACHE=yes + EXTRAPACKAGES="eatmydata" + if [ -z "$LD_PRELOAD" ]; then + LD_PRELOAD=libeatmydata.so + else + LD_PRELOAD="$LD_PRELOAD":libeatmydata.so + fi + export LD_PRELOAD + DEBOOTSTRAPOPTS=( + '--variant=buildd' + '--force-check-gpg' + '--keyring=/usr/share/keyrings/debian-keyring.gpg' + ) + APTKEYRINGS=(/usr/share/keyrings/debian-keyring.gpg) + +And this is needed until we get the `aptitude` package built: + + sudo ln -sf pbuilder-satisfydepends-apt /usr/lib/pbuilder/pbuilder-satisfydepends + +And then you can run `sudo pbuilder create` , `sudo pbuilder login` , `pdebuild` + **Installing a 64bit system** In principle crosshurd should be working, one however should add this source to get more packages for now: -- cgit v1.2.3