wiki:jazz/10-05-23

Version 6 (modified by jazz, 14 years ago) (diff)

--

2010-05-23

Linux

live-helper

  • lh_build 指令會執行三個 Stage,依序為 lh_bootstrap、lh_chroot 與 lh_binary
           lh_bootstrap - create the first stage by bootstrapping a basic debian system
           lh_chroot - create the second stage by customizing the chroot
           lh_binary - create the third stage by generating a binary image
    
  • 如果要用 live-helper 產生 live cd 並且用更多 apt 來源,可在 config/chroot_sources/ 加入 live.chroot 、 live.binary 跟對應的 gpg key 在 live.chroot.gpg 、live.binary.gpg
  • 要額外裝的套件,可以參考 /usr/share/live-helper/lists/ 底下的檔案。然後用 lh config --bootstrap-config FILE 來指定。預設是使用 /usr/share/live-helper/lists/standard
    LH_PACKAGES_LISTS="standard"
    
  • 要額外拷貝進 Live CD 的檔案,可放在 config/chroot_local-includes