grotius-cnc / debian_distro_live_build_post_tweaking

This are some document's about how to bring linux software together in one distribution.
2 stars 4 forks source link

system boots up in (live) mode, even after graphical install #1

Closed grotius-cnc closed 3 years ago

grotius-cnc commented 3 years ago

This is something i have to figur out. Why this happens.

If you rebrand the iso with for example only librecad extra installed, it won't happen. The pc starts up and terminal show normal user.

When you do a dist upgrade during the tweaking process. The system boots up in (live) mode. I am looking now if it has to do with vmlinuz files etc. and the boot directory.

grotius-cnc commented 3 years ago

I have a solution for a "hard" bug in live-build when building distro debian 11 bullseye.

The error : "no valid repository key.. .."

The sources.list is oke when it looks like

    deb http://deb.debian.org/debian/ bullseye main contrib non-free
    deb http://ftp.de.debian.org/debian bullseye main contrib non-free
    deb-src http://ftp.de.debian.org/debian bullseye main contrib non-free
    deb http://security.debian.org/debian-security/ bullseye-security main
    deb-src http://security.debian.org/debian-security/ bullseye-security main

In your system : /usr/lib/live/build/ replace 2 source files, see attached files. In the files, replace my filepath with your filepath.

/home/user/DDR/iso/chroot/etc/apt/sources.list

must be : yourfilepath/iso/chroot/etc/apt/sources.list

Then it should work.

I did a first run until the error appears. Then be sure you have outcommented

rm -rf auto

rm -rf cache

rm -rf chroot

rm -rf config

rm -rf local

lb clean

In the file you can see how i did it. I was furious. solution.zip