search for: 67b9479

Displaying 3 results from an estimated 3 matches for "67b9479".

Did you mean: 67947
2014 Nov 03
2
[PATCH] customize: firstboot: make sure to run Linux scripts only once
...ll not run again. Also, remove any file found in the scripts subdirectory, be it just run or run in a previous boot. This fixes RHBZ#1159651. --- customize/firstboot.ml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/customize/firstboot.ml b/customize/firstboot.ml index 67b9479..5f68a2e 100644 --- a/customize/firstboot.ml +++ b/customize/firstboot.ml @@ -57,10 +57,13 @@ then for f in $d/* ; do if test -x \"$f\" then + # remove +x from the script being executed, so it is not + # executed again at the next boot + chmod -x $f echo...
2014 Nov 03
1
[PATCH] customize: firstboot: make sure to run Linux scripts only once
..., remove all the files found in scripts-done, as they have been run (or at least attempted) in a previous boot. This fixes RHBZ#1159651. --- customize/firstboot.ml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/customize/firstboot.ml b/customize/firstboot.ml index 67b9479..89821f3 100644 --- a/customize/firstboot.ml +++ b/customize/firstboot.ml @@ -47,6 +47,7 @@ module Linux = struct ### END INIT INFO d=%s/scripts +d_done=%s/scripts-done logfile=~root/virt-sysprep-firstboot.log echo \"$0\" \"$@\" 2>&1 | tee $logfile @@ -54,16 +55,2...
2014 Nov 03
0
Re: [PATCH] customize: firstboot: make sure to run Linux scripts only once
...in the scripts subdirectory, be it just run > or run in a previous boot. > > This fixes RHBZ#1159651. > --- > customize/firstboot.ml | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/customize/firstboot.ml b/customize/firstboot.ml > index 67b9479..5f68a2e 100644 > --- a/customize/firstboot.ml > +++ b/customize/firstboot.ml > @@ -57,10 +57,13 @@ then > for f in $d/* ; do > if test -x \"$f\" > then > + # remove +x from the script being executed, so it is not > + # executed again at the...