Lars Karlitski
1e92e56b49
osbuild: remove systemResourcesFromEtc
...
It is a kludge that doesn't fit into osbuild's model. It's also not
necessary for any hacks anymore.
2019-07-19 13:31:49 +02:00
Tom Gundersen
96ea4e5698
BuildRoot: do not register with systemd-machined
...
This really only makes sense if we are running systemd as PID1
inside the container, but we are not booting a system, just using
it as a glorified chroot.
This means entering the namespaces from the outside will be a bit
more cumbersome, but that was not used much and was never reliable
to begin with.
Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-07-19 01:27:17 +02:00
Tom Gundersen
670d51a746
BuildRoot: drop unused device permissions
...
We only need permissions for loop devices, not for loop-control
and not for partitions.
Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-07-19 00:51:12 +02:00
Tom Gundersen
7274847711
Assembler: no longer mount devtmpfs in the container
...
Move the only assembler that relied on this to use LoopClient instead.
Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-07-19 00:51:12 +02:00
Tom Gundersen
d855c6c35e
Assembler: add the remoteloop API to the assembler build roots
...
Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-07-19 00:51:12 +02:00
Tom Gundersen
5d5766a98a
BuildRoot: include the osbulid module in the containers
...
This way we have access to all our helper libraries from the stages
and assemblers.
Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-07-19 00:51:12 +02:00
Tom Gundersen
e2dc0c5081
BuildRoot: add support for an API sockets dir
...
Add a directory to each BuildRoot potentially containing a set of
sockets. Also add a helper to create a named bound socket in a given
BuildRoot.
Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-07-19 00:51:12 +02:00
Tom Gundersen
18ebce3016
Stage: don't bind-mount devtmpfs into the stage buildroot
...
We only use devices in Assemblers so this is not needed.
Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-07-19 00:51:12 +02:00
Tom Gundersen
8994e7f803
libdir: allow osbulid to be built from the tree
...
This was a regression from when osbuild was made into a module.
Restore the old behavior.
Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-07-19 00:51:12 +02:00
Martin Sehnoutka
23680736bb
create osbuild package
2019-07-18 10:17:39 +02:00