Skip to content

more openwrt enhancements#995

Merged
stgraber merged 2 commits into
lxc:mainfrom
rietbergenm:pr/openwrt-improvements
May 17, 2026
Merged

more openwrt enhancements#995
stgraber merged 2 commits into
lxc:mainfrom
rietbergenm:pr/openwrt-improvements

Conversation

@rietbergenm

Copy link
Copy Markdown
Contributor

I have another pr coming in lxc-ci which fixes the hostname not being set properly. It makes use of templates which need to be present during early boot. For this to work, incus-agent needs to run early in the boot proces.

Also fdisk is kind of ugly to use w.r.t. output parsing, so use partx which is meant for this and installed by default on debain based distros.

@stgraber

Copy link
Copy Markdown
Member

@rietbergenm missing DCO

@rietbergenm

Copy link
Copy Markdown
Contributor Author

@rietbergenm missing DCO

Yeah, DCO is not missing; it just doesn't match my github username and it does not like that...

@stgraber

Copy link
Copy Markdown
Member

Can you align it easily enough or should I do it?

@rietbergenm

Copy link
Copy Markdown
Contributor Author

Ah okay, I can do it. I thought you had to use a real name, not some username :)

@stgraber

Copy link
Copy Markdown
Member

We definitely prefer using real names as it makes the validity of the DCO a lot less ambiguous. In this case, I would just have re-written the git Author field to match your DCO line. You can do that using the --amend --author="Firstname Lastname <email>" flags.

To be able to insert files in `/etc/uci-defaults`, incus-agent needs
to run before `S10boot`, so start as `S05incus-agent`.

Signed-off-by: Mathijs Rietbergen <mathijs.rietbergen@proton.me>
`fdisk` is not meant to be used in scripts. Its output is not easy
to parse and not guaranteed to be stable. `partx` is meant for this
and is even installed by default on debian based distros (as part of
`util-linux`).

Signed-off-by: Mathijs Rietbergen <mathijs.rietbergen@proton.me>
@stgraber stgraber force-pushed the pr/openwrt-improvements branch from 0b498f9 to 736d1a2 Compare May 17, 2026 12:35
@stgraber stgraber enabled auto-merge May 17, 2026 12:37
@stgraber stgraber merged commit 75db21a into lxc:main May 17, 2026
8 checks passed
@rietbergenm

Copy link
Copy Markdown
Contributor Author

We definitely prefer using real names as it makes the validity of the DCO a lot less ambiguous. In this case, I would just have re-written the git Author field to match your DCO line. You can do that using the --amend --author="Firstname Lastname <email>" flags.

Noted.

@rietbergenm rietbergenm deleted the pr/openwrt-improvements branch May 17, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants