close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
2009-04-16
- [待測試] Xen Live CD 2.0 的 build script (ISO Generator) - 瞭解 isolinux 是如何下參數啟動 xen hypervisor 呢?? 一樣是靠 mboot.c32 嗎??
- 經過簡單的原始碼目錄追蹤,發現它是用 grub 來當 ISO 開機的 boot loader 因此就簡單許多。
- 在 ISO Generator 的 TODO 裡提到:最好把相對應的 script 整合進 live-helper 裡,那以後就不需要自己維護不同的版本。
DRBL
- [想法] 每次 DRBL Server 作小升級,都會忘記要跑 re-deploy,想說為什麼不能每次只要有跑 apt-get 就像 localepurge 一樣都會去執行對應的 script 呢?? 今天研究了一下,原來作法並不難,只要在 /etc/apt/apt.conf.d/ 中放一個 script 就可以了。
localepurge: /etc/apt/apt.conf.d/99-localepurge
- [改良] 擺一隻 99drbl 在 /etc/apt/apt.conf.d/ 就可以在每次 apt-get install 之後,每次幫忙跑 re-deploy
# cat > /etc/apt/apt.conf.d/99drbl << EOF
DPkg
{
Post-Invoke {"if [ -x /opt/drbl/sbin/drblpush ] && [ $(ps w -p "$PPID" | grep -c remove) != 1 ]; then /opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf ; else exit 0; fi";};
};
EOF
Debian
xPUD
Download in other formats: