ssinyagin / pcengines-apu-debian-cd

Deban installer CD for PC Engines APU board with mSATA drive
84 stars 40 forks source link

sources.list issue #11

Closed rschwebel closed 7 years ago

rschwebel commented 7 years ago

Hi,

Thanks for this tool - it looks exactly like what I need for reproducible APU images. However, I don't manage to build successfully:

----------8<----------8<----------8<----------8<----------8<----------8<----------8<----------8<---------- rsc@leda:~/debian/pcengines-apu-debian-cd$ build-simple-cdd --conf profiles/apu64.conf --dist stretch 2017-08-01 00:24:08 ERROR build/debian-cd exited with code 2 2017-08-01 00:24:08 ERROR Last 5 lines of standard error: 2017-08-01 00:24:08 ERROR build/debian-cd: W: Target Contents-deb-legacy (Contents-amd64) is configured multiple times in /home/rsc/debian/pcengines-apu-debian-cd/tmp/cd-build/apt/stretch-amd64/apt/sources.list:1 and /home/rsc/debian/pcengines-apu-debian-cd/tmp/cd-build/apt/stretch-amd64/apt/sources.list:2 2017-08-01 00:24:08 ERROR build/debian-cd: W: Target Contents-deb-legacy (Contents-all) is configured multiple times in /home/rsc/debian/pcengines-apu-debian-cd/tmp/cd-build/apt/stretch-amd64/apt/sources.list:1 and /home/rsc/debian/pcengines-apu-debian-cd/tmp/cd-build/apt/stretch-amd64/apt/sources.list:2 2017-08-01 00:24:08 ERROR build/debian-cd: xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project. 2017-08-01 00:24:08 ERROR build/debian-cd: Can't open Packages file /home/rsc/debian/pcengines-apu-debian-cd/tmp/cd-build/stretch/CD1/dists/stretch/main/binary-amd64/Packages : No such file or directory 2017-08-01 00:24:08 ERROR build/debian-cd: make: *** [image-trees] Error 2 2017-08-01 00:24:08 ERROR build/debian-cd exited with code 2, full log can be found in /home/rsc/debian/pcengines-apu-debian-cd/tmp/log/build-debian-cd 2017-08-01 00:24:08 WARNING debian_mirror (http://httpredir.debian.org/debian) does not end in '/' ----------8<----------8<----------8<----------8<----------8<----------8<----------8<----------8<----------

Are you sure it works for you?

rschwebel commented 7 years ago

Just a short note that your today's changes didn't influence this issue, it is still there.

Let me note that this is with debian unstable, as of today.

ssinyagin commented 7 years ago

I only tested it with Stretch.

On 1 Aug 2017 21:14, "Robert Schwebel" notifications@github.com wrote:

Just a short note that your today's changes didn't influence this issue, it is still there.

Let me note that this is with debian unstable, as of today.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ssinyagin/pcengines-apu-debian-cd/issues/11#issuecomment-319468445, or mute the thread https://github.com/notifications/unsubscribe-auth/AAX_LytDNuGqMHiYaL7y4cVxY1uC-P4Mks5sT3kDgaJpZM4OpAxk .

ssinyagin commented 7 years ago

basically the tool cannot do cross-release images. So, if you generate a Stretch ISO, you have to run it on Stretch host. If your host is Unstable, you can only produce an Unstable ISO.

Please try if it works that way

rschwebel commented 7 years ago

I re-tested on stretch, and it works there.

However, it is counter intuitive that you can specify "--dist CODENAME", while only the currently running dist is supported. As this is an issue with build-simple-cdd, you should probably just document the current restrictions in the README.

Shall I send a patch?

ssinyagin commented 7 years ago

It is actually explicitly described in readme.

On 1 Aug 2017 21:53, "Robert Schwebel" notifications@github.com wrote:

I re-tested on stretch, and it works there.

However, it is counter intuitive that you can specify "--dist CODENAME", while only the currently running dist is supported. As this is an issue with build-simple-cdd, you should probably just document the current restrictions in the README.

Shall I send a patch?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ssinyagin/pcengines-apu-debian-cd/issues/11#issuecomment-319477861, or mute the thread https://github.com/notifications/unsubscribe-auth/AAX_L5nrH215bL13DWj2a0TjY1Gbo9vhks5sT4IggaJpZM4OpAxk .

rschwebel commented 7 years ago

Well, it says "the machine should be the same". In fact, it looks like it must be the same.

ssinyagin commented 7 years ago

I updated README with stronger wording

ssinyagin commented 7 years ago

I added a ./build script that selects the OS release from the build host. Also see the updated README,