Commit graph

118 commits

Author SHA1 Message Date
schutzbot
cf4608fe43 Post release version bump
[skip ci]
2022-12-07 08:15:17 +00:00
schutzbot
5f1e2cf5aa Post release version bump
[skip ci]
2022-11-23 08:16:54 +00:00
schutzbot
70bed2e984 Post release version bump
[skip ci]
2022-11-09 08:19:42 +00:00
schutzbot
845f58631c Post release version bump
[skip ci]
2022-10-26 08:18:16 +00:00
schutzbot
6523fd8d41 Post release version bump
[skip ci]
2022-10-12 08:19:37 +00:00
schutzbot
14e3cfc860 Post release version bump
[skip ci]
2022-09-28 08:21:46 +00:00
Vit Mojzis
34c801e670 selinux: Update based on latest packaging guide
https://fedoraproject.org/wiki/SELinux/IndependentPolicy

- Add dependency on selinux-policy-targeted
- Move %selinux_relabel_pre to osbuild-selinux
- Start shipping osbuild interface file
- Exclude installed policy module file from RPM verification

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
2022-09-23 10:10:31 +02:00
schutzbot
a298254dce Post release version bump
[skip ci]
2022-09-14 08:18:10 +00:00
schutzbot
1782f2fea9 Post release version bump
[skip ci]
2022-08-31 08:16:19 +00:00
schutzbot
d467e88f99 Post release version bump
[skip ci]
2022-08-26 17:11:12 +00:00
schutzbot
cf8ebb46b2 Post release version bump
[skip ci]
2022-08-17 08:17:53 +00:00
schutzbot
f91bb0a24f Post release version bump
[skip ci]
2022-08-03 08:18:04 +00:00
schutzbot
5fb7acc53e Post release version bump
[skip ci]
2022-07-27 09:06:45 +00:00
schutzbot
7dcc7d4499 Post release version bump
[skip ci]
2022-07-20 08:17:54 +00:00
schutzbot
b06c2311fd Post release version bump
[skip ci]
2022-07-06 08:26:42 +00:00
schutzbot
986307171d Post release version bump
[skip ci]
2022-06-22 08:19:22 +00:00
schutzbot
a96ee0f8ba Post release version bump
[skip ci]
2022-06-08 13:32:41 +00:00
schutzbot
cd5de55657 Post release version bump
[skip ci]
2022-05-25 13:31:04 +00:00
schutzbot
f23ec6eebe Post release version bump
[skip ci]
2022-05-11 13:36:52 +00:00
schutzbot
d6b8839f39 Post release version bump
[skip ci]
2022-04-27 13:30:13 +00:00
schutzbot
896c897afc Post release version bump
[skip ci]
2022-04-13 13:23:19 +00:00
schutzbot
744dcedd7a Post release version bump
[skip ci]
2022-03-24 07:42:59 +00:00
ochosi
53a598afec Post release version bump
[skip ci]
2022-03-04 15:49:16 +00:00
lavocatt
3eb91401cf Post release version bump
[skip ci]
2022-03-02 13:35:20 +00:00
ochosi
20231c8918 Post release version bump
[skip ci]
2022-02-27 19:00:46 +00:00
ochosi
97905f6e0c Post release version bump
[skip ci]
2022-02-23 19:13:10 +00:00
chloenayon
5a7d3eee86 Post release version bump
[skip ci]
2022-02-16 14:16:11 +00:00
jkozol
ee46f89647 Post release version bump
[skip ci]
2022-02-02 17:03:08 +00:00
ochosi
597759c18f Post release version bump
[skip ci]
2022-01-19 14:52:39 +00:00
thozza
d19d1b498d Post release version bump
[skip ci]
2022-01-07 11:14:37 +00:00
ochosi
bf3c80372a Post release version bump
[skip ci]
2021-12-16 09:12:49 +00:00
Christian Kellner
bd1343004b spec: split out luks2 support into sub-package
As with ostree and lvm2 support, split out the stages and host
device services needed to build images with LUKS2 support into
its own sub-package since not everyone that uses osbuild might
want the additional cryptsetup dependency.
2021-12-09 00:44:21 +00:00
Christian Kellner
7e2bb524a4 devices: add custom udev rule inhibitor mechanism
Certain udev rules for block devices are problematic for osbuild.
One prominent example is LVM2 related rules that would trigger
a scan and auto-activation of logical volumes. This rules are
triggered for new block devices or when the backing file of an
loop devices changes. The rules will lead to a `lvm pvscan
--cache --activate ay` via the `lvm2-pvscan@.service` systemd
service. This will auto-activate all LVM2 logical volumes and
thus interfering with our own device handling in `devices/
org.osbuild.lvm2.lv`, where we only want to activate a single
logical volume.
Also, if the lvm2 devices get activated after the manual metadata
change done in `org.osbuild.lvm2.metadata` the volume group names
might conflict which results in all lvm2 based tooling to be very,
ver sad and also said stage to hang since the loopback device can
not be detached since the activate logical volumes keep it open.

To work-around this we therefore implement a udev rule inhibition
mechanism: on the osbuild side a lock file is created via the new
class called `UdevInhibitor` in `utils/udev.py`. A custom set of
udev rules in `10-osbuild-inhibitor.rules` is then acting on the
existence of that lock file and if present will opt-out of certain
further processing. See the udev rules file for more details.

In fact, we want this custom inhibition mechanism, for all block
devices that are under osbuild's control, since these rules are
there to provide automatisms and integrations with the host,
something we never want.

NB: this should not affect the detection of devices, since lvm2
does do a scan of devices when we call `lvdisplay` in `lvm2.lv`.
The call chain as of lvm2 git rev f773040:

  _lvdisplay_single           [tools/lvdisplay.c
    process_each_lv           [tools/toollib.c
      lvmcache_label_scan     [lib/cache/lvmcache.c
        label_scan            [ibidem, here is the device detection!
      lvdisplay_full          [lib/display/display.c
2021-12-09 00:44:21 +00:00
Christian Kellner
0261b96e55 spec: split out lvm2 support into sub-package
The LVM2 support bits, especially the host service, depend on lvm2
tooling. Since not every user of osbuild may want to build images
with LVM2 split that out into its own sub-package and have that it
depend on LVM2.
2021-12-09 00:44:21 +00:00
achilleas-k
9ec635914a Post release version bump
[skip ci]
2021-12-01 13:18:53 +00:00
Christian Kellner
d2d3d6d59e spec: require python3-pyyaml for osbuild-tools
osbuild-mpp has learned to read yaml files but with it gained a
hard dependency on python3-pyyaml. Specify so in the spec file.
2021-11-19 21:14:06 +01:00
kingsleyzissou
7fe8b922b4 Post release version bump
[skip ci]
2021-11-17 10:53:44 +00:00
ochosi
40bc216127 Post release version bump 2021-11-08 20:40:13 +00:00
msehnout
5df59a2251 Post release version bump 2021-11-03 15:19:47 +00:00
Simon Steinbeiss
4ff59e2086 Bump version numbers ahead of release
This is necessary for the new simplified release process and is done
ahead of time once for the upcoming release now.
After osbuild 40 this will be done by the GitHub composite action.
2021-10-19 11:21:54 +02:00
Simon Steinbeiss
4ea2915ef7 Switch to simple upstream releases
This commit changes our release process from the model of having a
release commit (and pull request) which also updated the NEWS.md file
and bumped the versions in the osbuild.spec and setup.py files to simply
pushing a tag.

After the tag (containing the release notes) is pushed, a GitHub
composite action is triggered that creates a GitHub release with the
contents of the git release tag. Furthermore the bumping of the version
number now always has to happen directly after a release to avoid having
to push a(n untested) commit to main for the release and this is also
handled by the GitHub composite action.

Finally packit pushes directly to dist-git now on pushing the release
tag, so no pull-request needs to be reviewed and merged anymore.
2021-10-19 11:21:54 +02:00
Thomas Lavocat
00125e9fdb 39
Release osbuild 39

Signed-off-by: Thomas Lavocat <tlavocat@redhat.com>
2021-10-06 14:00:21 +02:00
Simon Steinbeiss
3678f3a4c5 38
Release osbuild 38

Signed-off-by: Simon Steinbeiss <simon.steinbeiss@redhat.com>
2021-09-24 17:20:15 +02:00
Martin Sehnoutka
7be475151d 37
Release osbuild 37

[skip ci]

Signed-off-by: Martin Sehnoutka <msehnout@redhat.com>
2021-09-22 15:03:21 +02:00
Diaa Sami
5d7316757b 36
Release osbuild 36

Signed-off-by: Diaa Sami <disami@redhat.com>
2021-09-08 19:01:52 +02:00
Tom Gundersen
b081cf7f64 35
Release osbuild 35

Signed-off-by: Tom Gundersen <teg@jklm.no>
2021-08-29 20:09:59 +02:00
Tom Gundersen
b430bd8682 34
Release osbuild 34

Signed-off-by: Tom Gundersen <teg@jklm.no>
2021-08-29 18:28:55 +02:00
Simon Steinbeiss
4459a37a66 33
Release osbuild 33

Signed-off-by: Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>
2021-08-25 22:24:46 +02:00
Tom Gundersen
a40cf616f5 32
Release osbuild 32

Signed-off-by: Tom Gundersen <teg@jklm.no>
2021-08-24 14:48:14 +02:00
Christian Kellner
572d963f0d 31
Release osbuild 31

Signed-off-by: Christian Kellner <christian@kellner.me>
2021-08-19 13:38:58 +02:00