Conversation
|
While we have a workaround in Flatcar to support systemd units symlinks in |
The services should also be put in the sysext. The files |
|
There is also an issue with the I see two ways out of it:
|
I'll try this one first. |
|
The grub.cfg will also have to be part of either the common package (controlled through use flags as already done in the ec2 oem package) |
I'm not sure I understand, could you expand on it, please? Drop in for multi-user.target that adds |
706169b to
fb317a2
Compare
Yes, then Here an example: This leads to test.service being started. |
fb317a2 to
f2a6ad8
Compare
|
Cool, thanks! I appreciate it. |
9db3761 to
4226b6d
Compare
app-emulation/wa-linux-agent: Since the contents of this package will be now a part of the sysext image, we don't need any special OEM-specific hacks. We don't need to install the package in /usr/share/oem directory any more, so update the ebuild to use the Gentoo python machinery to install files in the usual locations. This can also use a normal python package, so replace dependencies on dev-lang/python-oem and dev-python/distro-oem with dev-lang/python and dev-python/distro, respectively. The waagent.conf file we used to provide is updated (to disable auto updates, for example, and dropped obsolete options) and now is a part of the patch, so it is installed by the python machinery. dev-lang/python-oem, dev-python/distro-oem: Drop the unnecessary packages. profiles, coreos-devel/board-packages: Drop things related to the dropped python packages. coreos-base/oem-azure: This package will be used for the sysext image, instead of for installing files into /usr/share/oem. This means that we can drop some files or move them elsewhere. The systemd service file is not needed, because it is installed by the app-emulation/wa-linux-agent package now. This also means that the ignition file as lost its purpose. The grub.cfg and oem-release must be installed in /usr/share/oem, next to the sysext raw image file, so handling of these files is moved to the newly added coreos-base/common-oem-files package. `eject` symlink to `/usr/bin/true` is installed in the newly added manglefs.sh script. coreos-base/common-oem-files: This is a new package that will generate and install both grub.cfg and oem-release files into /usr/share/oem. Each platform can customize the process by providing their own fragments for each of the two files if necessary.
4226b6d to
14dacca
Compare
7d08ef9 to
0e68817
Compare
|
To migrate existing servers we need to add the list of old OEM files in |
Thanks, noted. I have not been yet thinking about the migration path. First wanted to get the fresh deployments to work. |
|
Will update a PR in scripts after Big Merge. |
app-emulation/wa-linux-agent: Start changing the ebuild to resemble a normal ebuild, without the OEM hacks. This replaces dependency on dev-lang/python-oem and dev-python/distro-oem with dev-lang/python and dev-python/distro, respectively.
dev-lang/python-oem, dev-python/distro-oem: Drop the unnecessary packages.
profiles, coreos-devel/board-packages: Drop things related to the dropped python packages. Maybe we should start pulling in dev-lang/python instead?
CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/1472/cldsv
Related scripts PR: flatcar/scripts#683
changelog/directory (user-facing change, bug fix, security fix, update)/bootand/usrsize, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.