[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sid installer images with LXDE desktop environment



When I find the time, I will play again, thank you Adrian.

John Paul Adrian Glaubitz schreef op 2019-11-06 21:26:
Hi!

On 11/6/19 9:26 AM, jjhdiederen wrote:
Can you tell me then how you make the installer images which can be downloaded from http://cdimage.debian.org/cdimage/ports/ ? There must be a way to create such images. I have tried numerous times with debian-cd tools but I can't get it working.
I'm using the easy-build-ports.sh and CONF-ports.sh scripts as attached and
build with "./easy-build-ports.sh NETINST powerpc".

For some reason, I had to patch the Makefile like this to get it to work:

glaubitz@casulana:~/debian-cd$ git diff
diff --git a/Makefile b/Makefile
index 0a9a5948..dd0dfae6 100755
--- a/Makefile
+++ b/Makefile
@@ -38,10 +38,10 @@ ifndef HOOK
 HOOK=$(BASEDIR)/tools/$(CODENAME).hook
 endif
 ifndef ARCHIVE_KEYRING_PACKAGE
-ARCHIVE_KEYRING_PACKAGE=debian-archive-keyring
+ARCHIVE_KEYRING_PACKAGE=debian-ports-archive-keyring
 endif
 ifndef ARCHIVE_KEYRING_FILE
-ARCHIVE_KEYRING_FILE=usr/share/keyrings/debian-archive-keyring.gpg
+ARCHIVE_KEYRING_FILE=usr/share/keyrings/debian-ports-archive-keyring.gpg
 endif

 export BUILD_DATE=$(shell date -u +%Y%m%d-%H:%M)
glaubitz@casulana:~/debian-cd$

Not sure why the KEYRING values from the CONF script weren't used.

For this to work you need to have a local Debian Ports mirror on your disk:

glaubitz@casulana:~$ ls -l /srv/mirrors/debian-ports/ | head
total 8
drwxr-xr-x 2 archvsync archvsync 4096 Mar 16  2008 base
drwxr-xr-x 5 archvsync archvsync   91 Jul 30  2010 dists
drwxr-xr-x 2 archvsync archvsync 4096 Sep 23 12:03 indices
drwxr-xr-x 3 archvsync archvsync   26 Dec 19  2000 pool
drwxr-xr-x 3 archvsync archvsync   26 May  5  2011 pool-alpha
drwxr-xr-x 3 archvsync archvsync   26 May  5  2011 pool-hppa
drwxr-xr-x 3 archvsync archvsync   26 Jul 31  2005 pool-hurd-i386
drwxr-xr-x 3 archvsync archvsync   26 Jan  4  2018 pool-ia64
drwxr-xr-x 3 archvsync archvsync   26 May 16 07:21 pool-kfreebsd-amd64
glaubitz@casulana:~$

And you need to have the d-i images in a folder, in my case
$HOME/d-i/powerpc/installer-powerpc:

glaubitz@casulana:~$ ls -l d-i/powerpc/installer-powerpc/
total 0
drwxr-xr-x 3 glaubitz glaubitz 28 Jul  1 22:39 20190702
lrwxrwxrwx 1 glaubitz glaubitz  8 Jul  1 22:39 current -> 20190702
glaubitz@casulana:~$

Adrian


Reply to: