update-guestfs-appliance
update the supermin appliance used by libguestfs
* access to the package repository is needed <-- 要上網
Supermin
HP: http://libguestfs.org/supermin.1.html
Supermin Appliance
A supermin appliance contains only lists of files and directories.
The contents of the referenced files are only copied into an ad-hoc filesystem whenever libguestfs starts a virtual machine.
These are tiny appliances (similar to virtual machines), usually around 100KB in size,
which get fully instantiated on-the-fly in a fraction of a second when you need to boot one of them.
Supermin
Supermin is a tool for building supermin appliances.
This program used to be called febootstrap.
# 升級 febootstrap
下載: http://libguestfs.org/download/supermin/
apt-get build-dep febootstrap
apt-get install devscripts
apt-get source febootstrap
wget http://libguestfs.org/download/supermin/febootstrap-3.21.tar.gz
tar -zxf febootstrap-3.21.tar.gz
cd febootstrap-3.21.tar.gz
rm -rf debian
cp -a ../febootstrap-3.12/debian .
vi debian/changelog
# change the first line: 3.12 -> 3.14
debuild -i -uc -us -b
Troubleshoot
febootstrap-supermin-helper: ext2: parent directory not found: /lib: File not found by ext2_lookup
update-guestfs-appliance