debian-forge-composer/internal
Achilleas Koutsou 745443181e osbuild2: remove stage-specific device types
Devices unlike stage options, shouldn't be stage specific.
There is only one type of device so far, the loopback device, which
is already defined as a separate type.

The top level Devices type is simply an alias to a Device map.

The mkfs stages require a single device with a specific key ("device").
These stages accept only one device in their NewStage() function for
convenience and create the Stage struct with the required key.

The zipl.inst stage requires a device labeled 'disk' as well as the rest
of the devices that correspond to each partition. The disk device is
passed to the New stage function separately and added to the Stage
devices with the required key.

Signed-off-by: Achilleas Koutsou <achilleas@koutsou.net>
2021-08-21 13:39:10 +02:00
..
blueprint blueprint: test minsize and sector-size validation 2021-07-28 21:44:03 +01:00
boot upload/aws: add support for session tokens 2021-06-28 13:14:19 +03:00
client Weldr API: introduce Image Type denylist for filtering exposed images 2021-08-02 18:51:03 +02:00
cloud/gcp test/api.sh: randomize used GCP zone from the region 2021-07-16 10:14:30 +02:00
cloudapi internal/rhsm: introduce package that handles subscriptions 2021-08-09 12:40:23 +02:00
common internal/common: add function to get a pointer to string literal 2021-08-02 19:05:09 +02:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
disk disk: refactor partition table size & start points 2021-08-21 02:54:38 +02:00
distro osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
distroregistry distroregistry: add an alias for rhel-86 2021-08-05 22:12:22 +02:00
jobqueue dbjobqueue: Reduce error noise in rollback check 2021-08-20 15:42:57 +02:00
jsondb jsondb: Allow passing nil as document to Read() 2020-05-13 16:45:09 +02:00
kojiapi internal/rhsm: introduce package that handles subscriptions 2021-08-09 12:40:23 +02:00
mocks internal/rhsm: introduce package that handles subscriptions 2021-08-09 12:40:23 +02:00
osbuild1 osbuild1: convert stage metadata from v2 2021-06-29 09:33:05 +01:00
osbuild2 osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
ostree ostree: add test for VerifyRef() 2021-06-18 14:02:09 +01:00
prometheus worker: add metrics 2021-07-23 21:54:28 +02:00
reporegistry reporegistry: Add a DistroHasRepos helper function 2021-07-12 08:58:42 +02:00
rhsm internal/rhsm: implement fallback to the previous mechanism 2021-08-09 12:40:23 +02:00
rpmmd internal/rpmmd: return helpful error message when subscriptions == nil 2021-08-09 12:40:23 +02:00
store distro/rhel85: tar-installer -> image-installer 2021-08-11 01:31:47 +02:00
target New upload target: AWS S3 2021-06-18 14:02:09 +01:00
test worker: Add identity filter and client oauth support 2021-06-17 10:08:35 +02:00
upload upload/azure: use cheaper storage accounts 2021-08-17 17:51:23 +02:00
weldr internal/rhsm: introduce package that handles subscriptions 2021-08-09 12:40:23 +02:00
worker worker: add metrics 2021-07-23 21:54:28 +02:00
tools.go go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00