Backstory: I'm using CUBIC to try to create my own derivative. Nothing that anyone will be interested in, just seeing how the process works (and I've definitely learned a few things about how the system is organized so far, so I'd call it a success. Mostly this "derivative" isnt' all that different from the stock ubuntu, but a lot of default packages are removed, a couple new packages have been added, and a lot of preferences have been replaced.
Now the to the problem at hand:
Not wanting to create a full mirror of all of Ubuntu's focal files, I'd like to rely on their servers for getting updates, except where those updates pertain to files i've edited.
For instance files that i've modified include these (either files themselves or files within these directories):
/etc/lsb-release
/usr/share/glib-2.0/schemas
/usr/share/backgrounds
So, installation goes as planned, but once i perform post-install updates, the files from Ubuntu's sources override the edits I've made.
How can I tell my computer to pull down updates from Ubuntu EXCEPT for the edits i've made (or rather, except for the packages that install the files I'm editing).
I can spin up a VM to host my edited files if that's whats necessary, just looking for pointers about what needs to happen to tell my computer that lsb-release should come from my server and not Ubuntu's servers.
Can anyone help?
Thanks