   ALTLinux Sisyphus    spt
---------------------------------------------------------------

: LAKostis <lakostis at altlinux.ru>
 : 28.11.2006

: 0.9



 spt

 

LiveCD
------

  livecd  .    :

- spt (   iso )
-    (     ).

   :

$ apt-get install spt

 ,  spt >= 0.3.1.

1. 

$ spt -P <profile> <workdir>

 profile -      (  livecd   default),
    workdir -    
              livecd (      )

   workdir/profile,      :

- profile/config -   livecd,    REPO
  (    )  ,  
  (PUBLISHER ORIGIN SUITE CODENAME VERSION).   
  /,    spt  .

- profile/modules -   ,   
    stage1  stage2.

- profile/packages/main -    , 
  - :)    ,    
  ( XFree-cyr_rfx-*) + - wm

- profile/postinstall/setup.d/ -   , 
      livecd.     
    /i18n/ .

2.  

$ spt --mkiso workdir

 workdir -      

   working chroot,    squashfs,
 stage1 ,     .iso .
 .iso    (,     ),  
  --skip-iso.

3.  LiveCD

  CD:
-   spt   profile/isolinux.cfg.in    
  . :
   "append initrd=alt0/full.cz live fastboot automatic=method:cdrom"
    "append initrd=alt0/full.cz live fastboot automatic=method:cdrom stagename=<stage>",
   stage -   squashfs  (-, 
  altlinux).

  PXE:

-  tftp-server, dhcp-server, syslinux
-   workdir/opt/isolinux/  /var/lib/tftpboot
-  /usr/lib/syslinux/pxelinux.0  /var/lib/tftpboot
-   /etc/dhcp/dhcpd.conf :

ddns-update-style none;
authoritative;

subnet xxxxxx.0 netmask 255.255.255.0 {

	host pxeclient {
	        hardware ethernet 00:0e:a6:5c:01:a0;
	        fixed-address xxxxxxxxx;
			 
	        filename "/pxelinux.0";
		# tftp ,   pxelinux.0
	        next-server xxxxxxxxx;
	}

}

-  tftp  /etc/xinet.d/,    in.tftpd 
  /etc/hosts.allow

-    livecd.iso   nfs ( ro)
-  /var/lib/tfptboot/pxelinux.cfg/default  :

default live
prompt 1
timeout 0

label live
  kernel alt0/vmlinuz
  append initrd=alt0/full.cz live fastboot automatic=method:nfs,network:dhcp,server:xxxxxx,directory:workdir/out stagename=altlinux
label harddisk
  LOCALBOOT 0

-  .   .   
  xorg.conf,      dri (   x11createconfig
    nvidia').



-   "" ,   useradd test 
   profile/postinstall/setup.d/  i18n,    
   .
