Statistics
| Branch: | Tag: | Revision:

root / snf-image-host / snf-image-update-helper.in @ af4a3462

History | View | Annotate | Download (4.3 kB)

# Date Author Comment
ff7783b8 10/10/2011 06:17 pm Vangelis Koukis

Avoid activating snf-image-helper by mistake

Only activate the snf-image-helper automatically if the caller
has passed a magic argument in the kernel command line.

Require a '--force' argument to activate snf-image-helper,
to avoid accidental execution of the script.

55d2fc47 10/10/2011 01:41 pm Nikos Skalkotos

Replace losetup in update-helper with the $LOSETUP

This is really minor, but since we are using a bash var for losetup in
create, which is overwritable from the defaults file, lets keep it that
way.

bad5ca1f 10/10/2011 09:43 am Nikos Skalkotos

Mass cleanup and some bug fixing

  • Make all "local" variables lowercase.
  • Move HELPER_EXTRA_PKGS from snf-image-update-helper to common.sh
  • Protect all variables from spaces and other special chars
  • Remove extra X's from mktemp template names (only 6 are supported)....
c36351f5 10/07/2011 03:23 pm Nikos Skalkotos

Fix minor typos in update-helper script

63d6058d 10/07/2011 12:51 pm Nikos Skalkotos

Beautify the output of update-helper script

aac16418 10/06/2011 06:07 pm Nikos Skalkotos

Remove filesystem scan enforcement rules in helper

Helper image should never have filesystem checks. The default rule mkfs
implies is to check every 24 mounts or 180 days.

3b0420ce 10/06/2011 12:26 pm Nikos Skalkotos

Make update-helper update the images /etc/rc.local

This is needed in order to make the helpers code autorun

52ac594c 10/06/2011 11:19 am Nikos Skalkotos

Add further functionality in update-helper script

  • Make the script install the snf-image-helper package inside the
    created image.
  • Add more diagnostic messages
f1ffe310 10/05/2011 04:48 pm Nikos Skalkotos

Move update-helper script to snf-image-host