Tiny Core Linux

General TC => Remasters / Remixes - Unofficial => Topic started by: elazarl on April 26, 2017, 02:32:23 AM

Title: Scripts for remastering a custom TinyCore Linux version
Post by: elazarl on April 26, 2017, 02:32:23 AM
Hi,

I published a small project that helps extracting and repacking an existing TinyCore Linux ISO.

Hope it'll be helpful for you. Was useful for me to test certain things on a VM. TinyCoreLinux loads really fast.

Feel free to open bugs or ask questions.

https://github.com/elazarl/customize_tinycorelinux#readme
Title: Re: Scripts for remastering a custom TinyCore Linux version
Post by: curaga on April 26, 2017, 10:06:22 AM
Your use of fakeroot may create problems. The files really need root permissions/ownership, which doesn't happen with fakeroot.
Title: Re: Scripts for remastering a custom TinyCore Linux version
Post by: rdebath on April 27, 2017, 12:58:12 AM
Fakeroot was designed to confuse tar (and cpio) into believing all files are owned by root.

So the default setting for fakeroot will work perfectly if there are only files (directories and links) and they should be owned by root. If some have to be owned by "tc" or "staff" things may break without save files. (Note: The chroot() system call and secure device access won't work; eg syslinux/grub)

...

Looking at core.gz it seems to have device files built in, so you're not completely wrong.
Fakeroot needs a save file to preserve those.