Author Topic: How do I include a /var directory in my iso?  (Read 822 times)

Offline wyohman

  • Hero Member
  • *****
  • Posts: 1346
  • Texas, USA
    • Shelby Registry
How do I include a /var directory in my iso?
« on: March 04, 2011, 10:47:14 AM »
I'm remastering using mylivecd and it's not saving a directory I need under /var/log/. I looked at the script and only select /var directories are excluded by default. Would someone point me in the right direction?

Cheers.
SZ77R5 | I7 3770 | 16GB | Samsung 840Pro | HD6670 | PCLOS 2012
Linux user since kernel 0.93

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: How do I include a /var directory in my iso?
« Reply #1 on: March 04, 2011, 11:32:26 AM »
/var is included by default.

If it is in your system, it will be included unless specifically excluded.

Offline wyohman

  • Hero Member
  • *****
  • Posts: 1346
  • Texas, USA
    • Shelby Registry
Re: How do I include a /var directory in my iso?
« Reply #2 on: March 05, 2011, 01:38:21 PM »
/var is included by default.

If it is in your system, it will be included unless specifically excluded.

I agree that the mylivecd scripts seem support this but in practice a subdirectory of /var/log (that I created), does NOT exist after I install the image.

Cheers.
SZ77R5 | I7 3770 | 16GB | Samsung 840Pro | HD6670 | PCLOS 2012
Linux user since kernel 0.93

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: How do I include a /var directory in my iso?
« Reply #3 on: March 05, 2011, 02:00:16 PM »
I agree that the mylivecd scripts seem support this but in practice a subdirectory of /var/log (that I created), does NOT exist after I install the image.

Cheers.

I see. It is a subdirectory that is not a part of the default system. From your first post, it looked like you were sayng that only part of /var was being included.
Have you checked to be sure it has the correct permissions? Have you tried including it in your remaster script?


Offline wyohman

  • Hero Member
  • *****
  • Posts: 1346
  • Texas, USA
    • Shelby Registry
Re: How do I include a /var directory in my iso?
« Reply #4 on: March 07, 2011, 11:51:03 AM »
Have you checked to be sure it has the correct permissions?
What would be the correct permissions? mylivecd runs as root.

Have you tried including it in your remaster script?

Are you referring to:

--isoextrafiles

Cheers.
SZ77R5 | I7 3770 | 16GB | Samsung 840Pro | HD6670 | PCLOS 2012
Linux user since kernel 0.93

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: How do I include a /var directory in my iso?
« Reply #5 on: March 07, 2011, 12:17:48 PM »
Have you checked to be sure it has the correct permissions?
What would be the correct permissions? mylivecd runs as root.

I was speaking of the subdirectory.

Quote
Have you tried including it in your remaster script?

Are you referring to:

--isoextrafiles

Cheers.

Yes.

Offline wyohman

  • Hero Member
  • *****
  • Posts: 1346
  • Texas, USA
    • Shelby Registry
Re: How do I include a /var directory in my iso?
« Reply #6 on: March 07, 2011, 01:18:12 PM »
Have you checked to be sure it has the correct permissions?
What would be the correct permissions? mylivecd runs as root.

I was speaking of the subdirectory.

I know. What permissions would the directory need if the script is running as root?

Cheers.
SZ77R5 | I7 3770 | 16GB | Samsung 840Pro | HD6670 | PCLOS 2012
Linux user since kernel 0.93

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: How do I include a /var directory in my iso?
« Reply #7 on: March 07, 2011, 01:19:31 PM »
Have you checked to be sure it has the correct permissions?
What would be the correct permissions? mylivecd runs as root.

I was speaking of the subdirectory.

I know. What permissions would the directory need if the script is running as root?

Cheers.

The same as other subdirectories in /var.

Offline wyohman

  • Hero Member
  • *****
  • Posts: 1346
  • Texas, USA
    • Shelby Registry
Re: How do I include a /var directory in my iso?
« Reply #8 on: March 07, 2011, 01:30:09 PM »
The same as other subdirectories in /var.

I'm prettty sure it was the same as others in /var.

I'm trying it with the --isoextrafiles option and I'll report back when it done.

Cheers.
SZ77R5 | I7 3770 | 16GB | Samsung 840Pro | HD6670 | PCLOS 2012
Linux user since kernel 0.93