To create a Live CD/DVD, the Live Media project introduced a set of files in
the a directory called "bootcd_skel". The files in the directory replaces some
files that are normally included as part of Solaris, and introduces some new
files that are specific for making Live CD/DVD work.
Instead of deliverying this whole set of files as a bundle, we are working on
sorting out each file and see whether there is a better way to deliver them,
eg: via a special package for Live Media...etc..
As a first step, I went through each of these files and categorized them into
the following 4 categories.
- Microroot Only - LiveCD specific files
- Proto area - LiveCD modifications of existing files
- Changes that I think can be done using scripts instead of replacing the whole
file.
- Changes that I think is not necessary, or I am confused about what they are.
If you see any problems with the way I sort them out, or if you have any input
on some of
the things I don't understand, please help with making the list better.
-------------------------------------------------------------------------
Microroot Only - LiveCD specific files
--------------------------------
f 0444 root:root .livecd
- contains volume name
f 0644 root:other reconfigure
- ????
f 0777 root:root noautoshutdown
- ????
f 0755 root:sys kernel/fs/hsfs
- hsfs driver (will this be included in NV by the time Indiana ships???)
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
- SMF stuff
d u=rwx,g=rx,o=rx root:root root
d u=rwx,g=rx,o=rx root:root root/Desktop
f 0644 root:root root/Desktop/install_solaris.desktop
d u=rwx,g=rx,o=rx root:root root/installer
f 0755 root:bin root/installer/install_live
f 0755 root:bin root/installer/install-finish
- "Home" and directory for the "root" account, and content of
"home" directory
f 0644 root:root etc/rtc_config
- Specifies the timezone to be GMT. This file doesn't seem to be
included in any existing package. Is it normally created during
install time?
f 0644 root:root etc/inet/routing.conf
- Sets up routing. Not shipped by any package.
Not sure whether content should be generated
somehow instead of hardcoding here.
f 0644 root:other etc/.UNCONFIGURED
- To indicate that this system is not configured?????
For proto area
----------------
f 0644 root:root boot/solaris/bootenv.rc
- ???? - replaces the "standard" one
f 0644 root:sys boot/grub/menu.lst
- grub menu - replaces the "standard" one
f 0644 root:root boot/grub/sx-boot.xpm.gz
- grub menu background graphics - replaces the "standard" one
The following changes are needed, can they be done with a script instead of
replacing the whole file? (All these files only need to be in microroot)
----------------------------------------------------------------------
f 0644 root:sys etc/security/prof_attr
f 0644 root:sys etc/security/exec_attr
- Need our customized one because we want to add the
"Inetmenu" profile? Can we add the profile in via a command?
f 0644 root:staff etc/inet/hosts
- Why need this one? Because we need to give localhost a "hostname"?
Is it better just leave it to have no name?
f 0644 root:sys etc/passwd
- Makes "root" have home directory of /root, and shell of "bash".
Is there a command to do this? If not, can we just modify
the passwd file with a script?
f 0400 root:sys etc/shadow
- Gives an hardcoded password to the "root" user.
f 0644 root:other etc/coreadm.conf
- Specifies where core files should go to. This file is not
shipped by any package.
f 0644 root:root etc/nodename
- Hard code name of the host. Can be created dynamically, based on
user input. This file is not shipped by any package??
f 0644 root:root etc/vfstab
- Add the "/devices/ramdisk:a ....." line
f 0644 root:other etc/dumpadm.conf
- Set crash dump enable to be "DUMPADM_ENABLE=no". This file is not
installed by default. It is used by the "svc-dumpadm" script.
Change script to not read dumpadm.conf for LiveCD?
f 0644 root:sys etc/minor_perm
- I don't know what's special in here for LiveCD? If we need to
add something, probably can make mod with script.
f 0644 root:root etc/resolv.conf
- File not delivered by any package. Create it using script.
Not necessary, I think
----------------------------
f 0555 root:bin lib/opengl/ogl_select/nvidia_vendor_select
- ????
f 0644 root:sys etc/profile
f 0644 root:root etc/default_env.sh
- Why need a customized etc/profile script? Just so that it can read
in the customized "default_env.sh". Is it really necessary to
have the "default_env.sh"?
f 0600 root:root etc/ssh/ssh_host_dsa_key
f 0644 root:root etc/ssh/ssh_host_dsa_key.pub
f 0600 root:root etc/ssh/ssh_host_rsa_key
f 0644 root:root etc/ssh/ssh_host_rsa_key.pub
- Public and private keys for DSA and RSA shouldn't be hard coded.
f 0644 root:sys etc/pam.conf
- Looks like a lot of changes is for KDE. Since we don't ship KDE,
do we need those changes?
f 0644 root:sys etc/power.conf
- I don't see how is different than the default one.
f 0644 root:sys etc/rpc
- "sgi_fam" and "kde_dcompserver" are added. Are they needed for us?
f 0644 root:sys etc/devlink.tab
- ????
f 0644 root:root etc/nsswitch.conf
- Looks the same as the normal nsswitch.files to me. Can we just
copy nsswitch.files to be this one?
f 0644 root:root etc/nsswitch.nis
- Why need to use NIS?
d 0755 root:root etc/xconfigs
f 0644 root:root etc/xconfigs/xorg.conf.virtpc
f 0644 root:root etc/xconfigs/xorg.conf.f4k
- Special config for the Xserver for certain type of graphics card??
f 0644 root:sys etc/logindevperm
- ??? don't know what is special about this compare to the default
f 0640 root:smmsp etc/mail/aliases.db
- Not delivered in any package. Not sure why this is needed.
f 0644 root:sys etc/security/device_policy
- Not sure what is needed here
f 0644 root:sys etc/services
- Added the "KDE" service?
--
This message posted from opensolaris.org