search for: excludefile

Displaying 20 results from an estimated 90 matches for "excludefile".

Did you mean: excludefiles
2018 Dec 03
3
[supermin PATCH] build: ignore empty files
...es, just ignore them. --- src/mode_build.ml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mode_build.ml b/src/mode_build.ml index b5f5fa6..9cd0a21 100644 --- a/src/mode_build.ml +++ b/src/mode_build.ml @@ -46,6 +46,7 @@ and file_content = | Packages | Hostfiles | Excludefiles +| Empty let rec string_of_file_type = function | GZip c -> sprintf "gzip %s" (string_of_file_content c) @@ -56,6 +57,7 @@ and string_of_file_content = function | Packages -> "packages" | Hostfiles -> "hostfiles" | Excludefiles -> "excl...
2015 Jul 23
2
[PATCH] appliance: exclude /usr/lib/firmware
Brings the size of the appliance down to 95 MB [xz-compressed], which is the same as for libguestfs 1.28. --- appliance/excludefiles.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in index d3c66cc..a63eca9 100644 --- a/appliance/excludefiles.in +++ b/appliance/excludefiles.in @@ -22,6 +22,9 @@ dnl The right kernel modules are added back by supermin. -/boot/* -/lib/...
2015 Jul 09
2
[PATCH] appliance: Exclude everything in /var/log/* from the appliance (RHBZ#1239154).
--- appliance/excludefiles.in | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in index 9a48db7..c53a913 100644 --- a/appliance/excludefiles.in +++ b/appliance/excludefiles.in @@ -32,12 +32,7 @@ dnl The right kernel modules are added back by supermi...
2015 Jul 09
3
[PATCH v2 0/3] appliance: Exclude more log files (RHBZ#1239154).
Since v1: - Don't remove the whole of /var/log - Cleanups and fixes to appliance/Makefile.am
2015 Jul 23
1
[PATCH] appliance: exclude /usr/share/fonts and /usr/share/icons.
...guestmount and filelight (see link below) I could see that the main contributor was these two directories, which should not be necessary. With this change, the size goes down to 119MB. See also: https://rwmj.wordpress.com/2015/07/23/why-has-the-libguestfs-appliance-grown-by-118-mb/ --- appliance/excludefiles.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in index 1564386..d3c66cc 100644 --- a/appliance/excludefiles.in +++ b/appliance/excludefiles.in @@ -23,13 +23,15 @@ dnl The right kernel modules are added back by s...
2015 Jul 23
1
[PATCH v2] appliance: exclude /lib/firmware
Brings the size of the appliance down to 95 MB [xz-compressed], which is the same as for libguestfs 1.28. --- appliance/excludefiles.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in index d3c66cc..574c828 100644 --- a/appliance/excludefiles.in +++ b/appliance/excludefiles.in @@ -22,6 +22,11 @@ dnl The right kernel modules are added back by supermin. -/boot/* -/l...
2015 Jul 23
1
[PATCH] appliance: Exclude /usr/lib/modules as well as /lib/modules.
It normally makes no difference to the final size of the appliance, because 'supermin --build' will copy back the host kernel modules. --- appliance/excludefiles.in | 1 + 1 file changed, 1 insertion(+) diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in index 574c828..181b182 100644 --- a/appliance/excludefiles.in +++ b/appliance/excludefiles.in @@ -21,6 +21,7 @@ dnl Of course, this may break the appliance, so be careful. dnl The right ke...
2016 Jul 21
3
[PATCH] appliance: move virt-rescue welcome to /etc/issue
...ile.am @@ -36,6 +36,7 @@ EXTRA_DIST = \ guestfs_shadow.aug \ hostfiles.in \ init \ + issue \ libguestfs-make-fixed-appliance.in \ libguestfs-make-fixed-appliance.pod \ make.sh.in \ @@ -49,6 +50,7 @@ superminfs_DATA = \ supermin.d/base.tar.gz \ supermin.d/daemon.tar.gz \ supermin.d/excludefiles \ + supermin.d/extras.tar.gz \ supermin.d/hostfiles \ supermin.d/init.tar.gz \ supermin.d/packages \ @@ -107,6 +109,15 @@ supermin.d/excludefiles: excludefiles.in Makefile cmp -s $@ excludefiles-t || mv excludefiles-t $@ rm -f excludefiles-t +supermin.d/extras.tar.gz: issue + rm -f $@...
2019 Apr 18
2
Re: [PATCH] appliance: Remove /etc/dhcp/dhclient-enter-hooks.d/resolved.
I had tried this approach, to add /etc/dhcp/dhclient-enter-hooks.d/resolved to excludefiles, however it didn't work. As far as I know, this hook is included in the base image and according to [1], the current implementation does not apply excludefiles to the base image. Jo [1] https://github.com/libguestfs/supermin/blob/b2401285cd3e3d42006fc164ef1f046cc35a50c4/src/mode_build.ml#L13...
2018 Dec 03
0
Re: [supermin PATCH] build: ignore empty files
...+++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/src/mode_build.ml b/src/mode_build.ml > index b5f5fa6..9cd0a21 100644 > --- a/src/mode_build.ml > +++ b/src/mode_build.ml > @@ -46,6 +46,7 @@ and file_content = > | Packages > | Hostfiles > | Excludefiles > +| Empty > > let rec string_of_file_type = function > | GZip c -> sprintf "gzip %s" (string_of_file_content c) > @@ -56,6 +57,7 @@ and string_of_file_content = function > | Packages -> "packages" > | Hostfiles -> "hostfiles"...
2015 May 04
1
[PATCH] build: remove unreadable files after filtering
Move the removal of the files which don't exist or cannot be read, doing it after the filtering with excludefiles and hostfiles files. This avoid stat'ing files which will be excluded later anyway, hence reducing the I/O during a supermin build phase. --- src/build.ml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/build.ml b/src/build.ml index b...
2003 Jun 04
1
rsync not overwriting files on destination
...tination server B. A/vol1 contains two files syslog.txt and syslog.bak B/vol1 contains five files syslog.txt, syslog.bak, initlog.txt, internal.txt, and internal.bak. I want to preserve the 5 files on B/vol1 when I do rsync from A to B. Here is the command I use: rsync -av --delete --exclude-from=EXCLUDEFILE A/ B I've tried the option "--exclude-from=EXCLUDEFILE" and I put the paths of those 5 files (B/vol1/FILEPATH) into that EXCLUDEFILE. However, the two files on A, syslog.txt and syslog.bak are still being rsync'ed to B and the other 3 files on B (initlog.txt, internal.txt, and in...
2019 Apr 18
2
[PATCH] appliance: Remove /etc/dhcp/dhclient-enter-hooks.d/resolved.
Workaround for Ubuntu which uses this script to try to start a systemd service. That won't work because systemd is not used inside the appliance. See: https://bugs.launchpad.net/ubuntu/+source/supermin/+bug/1824236 Thanks: Ioanna Alifieraki --- appliance/init | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/appliance/init b/appliance/init index 4f2b55822..b1c4d09ea
2015 Jul 09
0
Re: [PATCH] appliance: Exclude everything in /var/log/* from the appliance (RHBZ#1239154).
In data giovedì 9 luglio 2015 09:58:45, Richard W.M. Jones ha scritto: > --- > appliance/excludefiles.in | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) > > diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in > index 9a48db7..c53a913 100644 > --- a/appliance/excludefiles.in > +++ b/appliance/excludefiles.in > @@ -32,12 +32,7 @@ dnl The right kerne...
2015 Jul 23
0
Re: [PATCH] appliance: exclude /usr/lib/firmware
On Thursday 23 July 2015 15:10:41 Richard W.M. Jones wrote: > Brings the size of the appliance down to 95 MB [xz-compressed], which > is the same as for libguestfs 1.28. > --- > appliance/excludefiles.in | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in > index d3c66cc..a63eca9 100644 > --- a/appliance/excludefiles.in > +++ b/appliance/excludefiles.in > @@ -22,6 +22,9 @@ dnl The right kernel modules are added...
2016 Jul 21
2
How to debug supermin5 issue?
...lock supermin: build: /usr/lib64/guestfs/supermin.d supermin: build: visiting /usr/lib64/guestfs/supermin.d/base.tar.gz type gzip base image (tar) supermin: build: visiting /usr/lib64/guestfs/supermin.d/daemon.tar.gz type gzip base image (tar) supermin: build: visiting /usr/lib64/guestfs/supermin.d/excludefiles type uncompressed excludefiles supermin: build: visiting /usr/lib64/guestfs/supermin.d/hostfiles type uncompressed hostfiles supermin: build: visiting /usr/lib64/guestfs/supermin.d/init.tar.gz type gzip base image (tar) supermin: build: visiting /usr/lib64/guestfs/supermin.d/packages type uncompre...
2018 Dec 03
4
[supermin PATCH v2 0/3] Better handle no config files
This is a "merge" of two previous series: https://www.redhat.com/archives/libguestfs/2018-December/msg00015.html https://www.redhat.com/archives/libguestfs/2018-December/msg00020.html The goal is to handle better situations like: - empty file in the appliance directory - no config files available in the packages to include in an appliance Compared to the two series, the changes are: -
2003 Dec 15
5
Rsyncing Windows directory to a Linux box: problem with spaces in directory names
Hello, I am trying to rsync folders/files hosted on a Windows machine to a Linux machine. Many of the directory names have spaces in them. How can I list them in a file so that the --include-from option use them correctly? Thanks! Charles -- Charles-E. Nadeau Ph.D http://radio.weblogs.com/0111823/
2018 Oct 15
2
Bug Report, .vhdx file not attaching
...liance supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/base.tar.gz type gzip base image (tar) supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/daemon.tar.gz type gzip base image (tar) supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/excludefiles type uncompressed excludefiles supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/hostfiles type uncompressed hostfiles supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/init.tar.gz type gzip base image (tar) supermin: build: visiting /usr/lib/x86_64-linux-...
2016 Jul 21
0
Re: How to debug supermin5 issue?
...build: /usr/lib64/guestfs/supermin.d > supermin: build: visiting /usr/lib64/guestfs/supermin.d/base.tar.gz type gzip base image (tar) > supermin: build: visiting /usr/lib64/guestfs/supermin.d/daemon.tar.gz type gzip base image (tar) > supermin: build: visiting /usr/lib64/guestfs/supermin.d/excludefiles type uncompressed excludefiles > supermin: build: visiting /usr/lib64/guestfs/supermin.d/hostfiles type uncompressed hostfiles > supermin: build: visiting /usr/lib64/guestfs/supermin.d/init.tar.gz type gzip base image (tar) > supermin: build: visiting /usr/lib64/guestfs/supermin.d/package...