-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
osmet-pack: run coreos-installer in target rootfs #1774
osmet-pack: run coreos-installer in target rootfs #1774
Conversation
66c25d9
to
2812d86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
This seems sane.
Otherwise, we might get linking issues if the target system has newer e.g. glibc. We could use `bwrap` here instead of `chroot`, but meh this is easier and the block device itself is read-only anyway. I was initially trying to get this code to use the qemu image directly, but we have a bunch of issues there with our systemd services getting confused by the metal disk containing identical boot and root partitions (which... we should circle back to eventually). Closes: coreos#1761
…l key" This reverts commit ed6b99b. We don't need this anymore now that osmet packing uses the rootfs of the target system.
2812d86
to
7984439
Compare
New changes are detected. LGTM label has been removed. |
(This one just needs another restamp.) |
/lgtm (again) |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: darkmuggle, jlebon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This reverts commit 8382692. We don't need this anymore now that coreos-assembler correctly uses the target rootfs directly to run coreos-installer (see coreos/coreos-assembler#1774).
This reverts commit 8382692. We don't need this anymore now that coreos-assembler correctly uses the target rootfs directly to run coreos-installer (see coreos/coreos-assembler#1774).
This reverts commit 8382692. We don't need this anymore now that coreos-assembler correctly uses the target rootfs directly to run coreos-installer (see coreos/coreos-assembler#1774).
Otherwise, we might get linking issues if the target system has newer
e.g. glibc. We could use
bwrap
here instead ofchroot
, but meh thisis easier and the block device itself is read-only anyway.
I was initially trying to get this code to use the qemu image directly,
but we have a bunch of issues there with our systemd services getting
confused by the metal disk containing identical boot and root
partitions (which... we should circle back to eventually).
Closes: #1761