Karen W. Tung wrote:
> Thanks Moinak and Dave for your initial review of the files in this 
> directory.  Based on your comments,
> I have re-grouped the files.  After my question below gets answered, I will 
> try to implement
> what I propose if there are no other suggestions/modifications.
> 
> Create as a parameter by Distro Constructor
> -------------------------------------------
> f 0444 root:root .livecd
> f 0644 root:staff etc/inet/hosts
>         - make name of host same as name of volumn in .livecd?

Perhaps, though I'd just allow for a separate hostname to be set in the 
constructor.

> f 0644 root:root etc/nodename
> f 0644 root:sys etc/passwd
>         - User will specify default root shell and root shell
> d u=rwx,g=rx,o=rx root:root root
>         - The default root "home dir" will be created as specified in passwd
> 
> Live Media specific, deliver in a package into microroot
> ------------------------------------------------------
> f 0644 root:other reconfigure
> f 0555 root:bin lib/svc/method/live-devices-local
> f 0555 root:bin lib/svc/method/live-fs-root
> f 0555 root:bin lib/svc/method/live-fs-usr
> f 0555 root:bin lib/svc/method/live-sysidtool-system
> f 0444 root:sys var/svc/manifest/system/device/live-devices-local.xml
> f 0444 root:sys var/svc/manifest/system/filesystem/live-root-fs.xml
> f 0444 root:sys var/svc/manifest/system/filesystem/live-usr-fs.xml
> f 0444 root:sys var/svc/manifest/system/live-sysidtool.xml
>         - I know all the live media specific manifest and scripts need to
>           be incorporating in the long term.  But just have them here for now.
> f 0644 root:root etc/rtc_config
> f 0644 root:root etc/inet/routing.conf
>         - In the future, can probably do it via SMF, for now, just
>           ship this in a file.
> 

Actually, "routeadm -R" can be used to specify what's desired, and that 
would be preferred vs. shipping the file, so I'd move it into the script 
list below.

> Live Media specific, deliver in a package into proto area
> ---------------------------------------------------------
> f 0644 root:root boot/grub/sx-boot.xpm.gz
> 
> Live Media specific, modify existing files by a script?
> --------------------------------------------------------
> f 0644 root:root etc/vfstab
>         - Script to add the "/devices/ramdisk:a ....." line.  Is there
>           a CLI to modify this file?   The vfstab(4) man page says
>           the getvfsent(3c) system call can be used to read/write to this 
> file.
> 

Only awk or sed or something of that sort.

> f 0644 root:sys etc/power.conf
>         - Setup correctly using the "pmconfig" command
> 
> f 0644 root:root etc/nsswitch.conf
>         - This will be a copy of nsswitch.files
> 
> f 0644 root:other etc/dumpadm.conf
>         - This will be setup using the dumpadm command
> 
> f 0644 root:other etc/coreadm.conf
>         - This will be setup using the coreadm command
> 
> 
> Questions still need to be resolved
> ------------------------------------
> f 0644 root:root boot/solaris/bootenv.rc
> f 0644 root:sys boot/grub/menu.lst
>         - These 2 files above are live media specific, but they are also
>           deliver by normal Solaris packages.  What should we do?  Just
>           replace the whole file or modify the necessary stuff via a script?
> 

The best thing with menu.lst would just be to cat our entries onto the 
end of the delivered one, which has only comments, no actual entries.

Now that I look back at it, I'm actually not seeing what we need in 
bootenv.rc that is custom to the live CD.  Moinak, what are you thinking 
is there that's required?

Dave

Reply via email to