[X2Go-Commits] [live-build-x2go] 12/28: hopefully right exclude way for live-build
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 30 20:06:20 CET 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/stretch
in repository live-build-x2go.
commit af097d3ddeafdd0c14fbf33e013890b1b8444ca5
Author: Juri Grabowski <gratuxri at gmail.com>
Date: Fri Dec 30 15:20:10 2016 +0100
hopefully right exclude way for live-build
---
README.txt | 4 ++--
config/rootfs/excludes | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/README.txt b/README.txt
index 2130a52..11a7dc0 100644
--- a/README.txt
+++ b/README.txt
@@ -43,7 +43,7 @@ IP_OF_FQDN=`dig $FQDN +short`
DIR=/srv/live-build-x2go-`date +"%Y%m%d%H%M%S"`
mkdir $DIR
cd $DIR
-lb config --chroot-filesystem squashfs --apt-indices none --cache-packages false --config https://github.com/LinuxHaus/live-build-x2go.git --archive-areas "main contrib non-free" --apt-recommends true --firmware-binary true --updates true --backports true --win32-loader false --loadlin false --security true --initsystem systemd -b netboot -a i386 -k amd64 --linux-packages linux-image --bootappend-live aufs rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0 vconsole.keymap=de-latin1-nodeadkeys kernel.s [...]
+lb config --chroot-filesystem squashfs --apt-indices none --cache-packages false --config https://github.com/LinuxHaus/live-build-x2go.git::feature/stretch --archive-areas "main contrib non-free" --apt-recommends false --firmware-binary true --updates true --backports true --win32-loader false --loadlin false --security true --initsystem systemd -b netboot -a amd64 -k amd64 --linux-packages linux-image --bootappend-live aufs rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0 vconsole.keymap=de-latin1- [...]
lb build
cd `dirname $DIR`
ln -s `basename $DIR` lb-x2go
@@ -55,7 +55,7 @@ YOURHW=myhw
cat <<EOF>$YOURHW
#!ipxe
dhcp
-kernel http://$FQDN/vmlinuz boot=live components fetch=http://$IP_OF_FQDN/filesystem.squashfs noswap aufs rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0 vconsole.keymap=de-latin1-nodeadkeys kernel.sysrq=1 keep_bootcon sysrq_always_enabled rd.driver.pre=loop rd.noverifyssl rd.skipfsck rd.live.overlay.check rd.live.overlay.reset rd.live.ram log_buf_len=1M quickreboot silent splash toram lang=de locales=de_DE.UTF-8 keyboard-layouts=de consoleblank=0 quiet kernel.sysrq=1 keep_bootcon sysrq_always_enable [...]
+kernel http://$FQDN/vmlinuz boot=live components fetch=http://$IP_OF_FQDN/filesystem.squashfs noswap aufs rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0 vconsole.keymap=de-latin1-nodeadkeys kernel.sysrq=1 keep_bootcon sysrq_always_enabled rd.driver.pre=loop rd.noverifyssl rd.skipfsck rd.live.overlay.check rd.live.overlay.reset rd.live.ram log_buf_len=1M quickreboot silent splash toram lang=de locales=de_DE.UTF-8 keyboard-layouts=de consoleblank=0 quiet kernel.sysrq=1 keep_bootcon sysrq_always_enable [...]
initrd http://$FQDN/initrd.img
boot
EOF
diff --git a/config/rootfs/excludes b/config/rootfs/excludes
new file mode 100644
index 0000000..fb4837f
--- /dev/null
+++ b/config/rootfs/excludes
@@ -0,0 +1,4 @@
+/boot/*
+/usr/share/doc/*
+/usr/share/man/*
+/usr/share/locale/*
--
Alioth's /srv/git/code.x2go.org/live-build-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
More information about the x2go-commits
mailing list