I've removed odhcp6c since I don't need the client for DHCPv6. I've left udhcp intact (not removed in my recipe) because I do want the DHCPv4 client.
The odhcpd is shown as 'safely removable' in this wiki page talks about what you can safely remove... it includes "remove dhcp server: -odhcpd". As it turns out, I've followed the entire recipe (except for adding zram). So if there are other things that are dependent on odhcpd, those are missing from the wiki recipe to remove.
But that does raise a question -- if you explicitly tell the image builder to remove/omit a package that is a dependency for other packages, does the IB figure that out and silently include the package as to not break others? Put another way, is it actually possible remove packages upon which other packages depend (with the obvious result of those packages breaking), or is this overridden by the IB itself?
I see odhcpd as a process running on my device. Of course, dnsmasq is, too. So I just ran an experiment and it turns out that odhcpd is indeed only serving DHCPv6 and dnsmasq is only serving DHCPv4.
Should I try removing
Good to know. How does one know if it is baked in vs a module that can be removed/omitted from an image? Would that mean reading through make files or similar?
What would happen if I tried to remove dnsmasq? I'm guessing that's baked in, so I guess that wouldn't be possible at the image builder level?? But would that break things horribly? I don't need any DNS or DHCP services on this thing.
Alternatively, I could always change the default configuration of the image such that the DHCP server is disabled on the lan. That might be the easier option, space not withstanding.
I'll give that a shot. Thanks for the suggestion.
You think so? I seem to recall being unable to find any profiles for this thing past 18.06 (obviously in the 'tiny' category)... but maybe I'm mistaken, so I'll look again. I can't imagine that 21.02 would be possible, but maybe 19.07??