WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Scripts for remastering a custom TinyCore Linux version  (Read 6105 times)

Offline elazarl

  • Newbie
  • *
  • Posts: 1
Scripts for remastering a custom TinyCore Linux version
« on: April 26, 2017, 05: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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Scripts for remastering a custom TinyCore Linux version
« Reply #1 on: April 26, 2017, 01:06:22 PM »
Your use of fakeroot may create problems. The files really need root permissions/ownership, which doesn't happen with fakeroot.
The only barriers that can stop you are the ones you create yourself.

Offline rdebath

  • Newbie
  • *
  • Posts: 13
Re: Scripts for remastering a custom TinyCore Linux version
« Reply #2 on: April 27, 2017, 03: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.
--
Robert