butterknife source code - overlay files #16

Closed
opened 2026-09-12 09:05:47 +00:00 by FiddlerAndy · 2 comments

Thank you for all the work you're doing creating the easiest, fastest and cleanest minimal debian+btrfs installer ever!

My issue (or "would be nice") relates to the source code which I'm using to create a customised version of the installer with a slightly modified rootfs package list. I also add my own user default bashrc, set-up scripts and some home .config dirs to the overlay files (in /etc/skel) so they are included in every subsequent install from the iso.

However, the overlay files are currently processed prior to user creation so any changes/additions to /etc/skel are not automatically included in the first users home dir. Easy to copy over & chown after the initial install so only a very minor issue.

/etc/skel is incredibly useful for consistent customised user set-up & configuration so perhaps worth a tweak to the code in the next release?

Thank you for all the work you're doing creating the easiest, fastest and cleanest minimal debian+btrfs installer ever! My issue (or "would be nice") relates to the source code which I'm using to create a customised version of the installer with a slightly modified rootfs package list. I also add my own user default bashrc, set-up scripts and some home .config dirs to the overlay files (in /etc/skel) so they are included in every subsequent install from the iso. However, the overlay files are currently processed prior to user creation so any changes/additions to /etc/skel are not automatically included in the first users home dir. Easy to copy over & chown after the initial install so only a very minor issue. /etc/skel is incredibly useful for consistent customised user set-up & configuration so perhaps worth a tweak to the code in the next release?
Owner

Thanks, and you're right about the cause, just the other way round: useradd ran first and populates the new home from /etc/skel at creation time, so anything the overlay added to skel arrived too late. The overlay is now applied before the user is created, on dev as of 3eaaf33, and HOWTO now mentions overlay/etc/skel as a supported spot for a customised build. It'll be in 0.3.3. It just missed 0.3.2, which went out today on Debian 13.7.

Thanks, and you're right about the cause, just the other way round: useradd ran first and populates the new home from /etc/skel at creation time, so anything the overlay added to skel arrived too late. The overlay is now applied before the user is created, on dev as of 3eaaf33, and HOWTO now mentions overlay/etc/skel as a supported spot for a customised build. It'll be in 0.3.3. It just missed 0.3.2, which went out today on Debian 13.7.
Author

Ah yes, apologies for the confusing error in my description! Many thanks for fixing the order of things for the 0.3.3 release.

Ah yes, apologies for the confusing error in my description! Many thanks for fixing the order of things for the 0.3.3 release.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
drew/butterknife#16
No description provided.