Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6 kB)

# Date Author Comment
d3265cf9 11/30/2012 03:29 pm Nikos Skalkotos

Do not install a local helper package by default

snf-image-update-helper will only install a pkg retrieved from the
apt unless -p option is specified.

2e2fa538 11/29/2012 05:53 pm Nikos Skalkotos

Exit if the version check fails

5d21c514 11/28/2012 07:09 pm Nikos Skalkotos

Add new version_consistency_check in configure

This can be used to enable or disable the version check between
snf-image-host and snf-image-helper at the end of the update-helper
script.

2187080b 11/28/2012 04:22 pm Nikos Skalkotos

Remove caching

Using package caches to create the helper image is dangerous now that
snf-image-helper is automatically retrieved.

371d0291 11/15/2012 06:29 pm Nikos Skalkotos

Fix a bug introduced in f012a7dd3f0ed634f1a2215936

9a4838f0 11/13/2012 03:07 pm Nikos Skalkotos

In update-helper remove the tmp image on errors

If an error occurs, the temporary helper image under
/var/lib/snf-image-helper should be removed.

Conflicts:

snf-image-host/snf-image-update-helper.in
240c2f10 10/22/2012 04:15 pm Nikos Skalkotos

Seperate error messages from monitoring messages

Do not send through the monitor pipe the error messages. They may
contain internal sensitive information. Create a new report_error
function for sending errors through the monitoring pipe.

Conflicts:
snf-image-host/create...

c9f5980b 10/05/2012 03:09 pm Nikos Skalkotos

Support installing snf-image-helper from apt repos

snf-image-update-helper should check when creating a helper VM if
an snf-image-helper package was installed from an apt repository
through multistrap. If this is the case, snf-image-update-helper
should not complain about not finding the HELPER_PKG.

53a5929f 10/05/2012 10:18 am Nikos Skalkotos

Use a seperated dir for update-helper cache files

By default this directory is $(LOCALSTATEDIR)/cache/snf-image/helper

ab39c5c5 10/01/2012 05:36 pm Nikos Skalkotos

Don't move the kernel out of the helper VM image

When snf-image-update-helper runned, it moved the kernel and the
initrd file out of the helper VM image. With this patch,
snf-image-update-helper will copy the kernel to the host without
removing it from the image.

bd0a7bd3 09/28/2012 01:29 pm Nikos Skalkotos

Delete helper img if errors occure during creation

If snf-image-update-helper exits with errors, delete the temporary
image file from /var/lib/snf-image/helper.

621a9a34 09/27/2012 07:34 pm Nikos Skalkotos

Replace debootstrap with multistrap

multistrap is more flexible allows as to define more that one
repository to retrieve packages from.

bf8df441 09/27/2012 06:58 pm Nikos Skalkotos

Fix a bug in snf-image-update-helper

the kernel and init paths computed by snf-image-update-helper script
were incorrect.

d259b27c 05/02/2012 04:06 pm Nikos Skalkotos

Create a package list file after every debootstrap

This file is used to check if the cache file contains every package
defined in HELPER_EXTRA_PKGS.

448a829f 03/29/2012 05:04 pm Nikos Skalkotos

In update-helper ask before using a cache file

  • If -y is not specified and a cache file is found, ask the user before
    using it.
  • "Fix" the -c option's behaviour. With this commit, if -c is applied,
    the system will use the provided cache file if present and will do a...
c6b14273 02/13/2012 01:31 pm Nikos Skalkotos

Make update-helper detect the systems's arch

The system's architecture is needed by debootstrap.

3709b5f4 11/22/2011 03:24 pm Nikos Skalkotos

Fix license and copyright

Some files were accidentally left out from the last license and
copyright fix.

a5dbdff8 11/08/2011 03:29 pm Nikos Skalkotos

Remove forgotten -l option in update-helper

cfd38847 10/26/2011 05:12 pm Nikos Skalkotos

Beautify help msg in update-helper

Also remove `-l' option. It's no longer needed.

a1aef659 10/26/2011 12:12 pm Nikos Skalkotos

Add input options in update-helper script

5a31f7ef 10/20/2011 11:31 am Nikos Skalkotos

Fix issues #1531 #1532 #1533

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