WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline elazarl

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

newbielink:https://github.com/elazarl/customize_tinycorelinux#readme [nonactive]

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9516
Re: Scripts for remastering a custom TinyCore Linux version
« Reply #1 on: April 26, 2017, 09:06:22 AM »
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

  • WikiUser
  • *
  • Posts: 13
Re: Scripts for remastering a custom TinyCore Linux version
« Reply #2 on: April 26, 2017, 11:58:12 PM »
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