Re: debootstrap and cdebootstrap vs systemd

Cyril Brulebois <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded,gmane.linux.debian.devel.general
Organization Debian
Message-ID <[email protected]>
Simon Richter <[email protected]> (2014-11-06):
> I've run into a bit of a problem building a root filesystem for an ARM
> system where the kernel shipped by the vendor is 2.6 based. As systemd
> does not work there, I tried installing a sysvinit based system using
> --include and --exclude to (c)debootstrap.
> 
> In short: this does not work. The end result is a systemd based system.
> If I use the --foreign flag, sysvinit is added to the download, and an
> attempt at installation is made when the system is booted, but this
> fails due to an unresolved conflict.
> 
> The system image left is unable to boot, due to a segmentation fault in
> systemd (which is is probably not that important, as older kernels are
> unsupported anyway), and is stuck with a kernel panic.
> 
> I haven't found a combination of flags that would create a root
> filesystem without systemd, as the dependency resolver in these tools
> will always pull it back in.
> 
> Being able to create a root file system using debootstrap is IMO a
> rather central feature of the Debian distribution, and I'd prefer not to
> give it up.
> 
> I don't have a lot of time in the coming months, but I could probably
> clear a weekend. Would it make sense to organize a meeting (Linuxhotel?)
> to fix this?

You might want to stop accepting 2.6 as a base kernel version.

Anyway, just use debootstrap and switch to sysvinit afterwards, done.

Mraw,
KiBi.
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJUXAQYAAoJEP+RSvDCs1UgiWoP/1MPqxfg71ylYr7GuSpNjZgn
QiJ2cDtYmXnpVxFILciAC/N/A/jheR9EdZfBM31egn/huVY6FVB45afnZuN3RhNN
826tTxHn4kQoPY/H4Hd7oulETy9hY6W2X1xH7LNmH9+6X4SHvSAxzS1WmYrPRAH+
kJGoXTfQ7z8jusYF3r1MWnXpvavKpGsOF5s5i88E3JhC/LFfMrSf1D+NI3YcnbgH
En4PKzVsRCijF8dKeIg7krEQ+fE0ry4+XX50JkpZdUSOGQsEQ04FisdYQwUYISGB
Rr03ynqOb9JJZFAmpJIWsrdPqbZeIfs7RJjTNJfkbDMU8/tf9SLrJAJXJgFnxc9H
QuoULiyRml31N5PUhH+aQdWKm5rdiClb3i3GpCVIaHOpKEi4Bwavz6nf3FeKzehY
/7LFHKdQfWqcyILIg6lzlG2yj7sOwqYziH2AnC3gURk3cLWoWkw9qel2ItCJ4gjD
6utooyfmoRQ9zgU1GcRER2bDK7vK0FQ26qL6pj+57+9drFbrn6i2Phxo7rq8xyxx
rnvjZtWQSWm0fLeAXq/8+YBRUIZRU3/B46ZgoFtFJlT1edlXReSX22pRMpdyqkXw
1ACRGG8JjaBnh88s1/MZr+fcbbynrKfFR+I1qzC7OKOEr2JM6Umv96QwECDjwM4Z
LLxyQREWnwP7bbK9bPXv
=8Lvq
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.