Commit fa1defe9 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Initial commit

parents
all:
dd if=/dev/zero of=swap bs=1048576 count=1024
chmod 600 swap
mkswap swap
swapon swap
mkdir tmp
chown nobody tmp
mount --bind tmp /var/tmp
sed '/eth0.network/d' -i /usr/share/packages/systemd.md5
sed '/run/d' -i /usr/share/packages/lvm2.md5
tar xf libguestfs-1.42.0.tar.gz
patch -Np1 -d libguestfs-1.42.0 < libguestfs-1.42.0-certo.patch
patch -Np1 -d libguestfs-1.42.0 < libguestfs-1.42.0-mlv2v.patch
cd libguestfs-1.42.0 && ./configure --prefix=/usr --with-extra-packages="glibc readline ncurses util-linux xz pcre zlib systemd iproute2 libcap jansson augeas hivex libtirpc parted mdadm libaio cryptsetup popt openssl json-c cdrkit gptfdisk gcc"
$(MAKE) -C libguestfs-1.42.0
chown -Rv nobody libguestfs-1.42.0
su nobody -s /bin/bash -c "PATH=$$PATH make -C libguestfs-1.42.0 check"
$(MAKE) -C libguestfs-1.42.0 install REALLY_INSTALL=yes
rm -rf libguestfs-1.42.0
umount /var/tmp
rm -rf tmp
swapoff swap
rm -rf swap
diff -uNr libguestfs-1.42.0/appliance/hostfiles.in libguestfs-1.42.0-certo/appliance/hostfiles.in
--- libguestfs-1.42.0/appliance/hostfiles.in 2020-03-07 06:01:08.078079260 +1030
+++ libguestfs-1.42.0-certo/appliance/hostfiles.in 2020-04-26 20:04:26.879539162 +0930
@@ -17,3 +17,51 @@
/etc/ld.so.cache
/lib/lsb/*
/usr/share/augeas/lenses/*.aug
+/dev/console
+/bin/sh
+/lib/libreadline.so.8
+/lib/libhistory.so.8
+/lib/libncursesw.so.6
+/lib/libdl.so.2
+/lib/libc.so.6
+/lib/ld-linux-x86-64.so.2
+/lib/libmount.so.1
+/lib/liblzma.so.5
+/lib/libpcre.so.1
+/lib/libacl.so.1
+/lib/libblkid.so.1
+/lib/libattr.so.1
+/lib/libz.so.1
+/lib/libpthread.so.0
+/lib/librt.so.1
+/lib/libkmod.so.2
+/lib/libcap.so.2
+/lib/libsystemd.so.0
+/lib/libtirpc.so.3
+/lib/libm.so.6
+/lib/libudev.so.1
+/lib/libuuid.so.1
+/lib/libsmartcols.so.1
+/lib/libext2fs.so.2
+/lib/libcom_err.so.2
+/lib/libe2p.so.2
+/lib/libfdisk.so.1
+/sbin/reboot
+/sbin/lsmod
+/sbin/modprobe
+/usr/lib/libjansson.so.4
+/usr/lib/libaugeas.so.0
+/usr/lib/libfa.so.1
+/usr/lib/libxml2.so.2
+/usr/lib/libhivex.so.0
+/usr/lib/libparted.so.2
+/usr/lib/libaio.so.1
+/usr/lib/libcryptsetup.so.12
+/usr/lib/libpopt.so.0
+/usr/lib/libjson-c.so.4
+/usr/lib/libmagic.so.1
+/usr/lib/libstdc++.so.6
+/usr/sbin/mkfs.vfat
+/usr/sbin/mkfs.msdos
+/usr/bin/strace
+/var/lock
diff -uNr libguestfs-1.42.0/po/POTFILES-ml libguestfs-1.42.0-mlv2v/po/POTFILES-ml
--- libguestfs-1.42.0/po/POTFILES-ml 2020-03-10 00:03:41.405900737 +1030
+++ libguestfs-1.42.0-mlv2v/po/POTFILES-ml 2020-04-28 20:05:32.288827541 +0930
@@ -41,7 +41,6 @@
common/mltools/xpath_helpers.ml
common/mlutils/c_utils.ml
common/mlutils/unix_utils.ml
-common/mlv2v/uefi.ml
common/mlvisit/visit.ml
common/mlxml/xml.ml
customize/append_line.ml
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment