Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (3.3 kB)

# Date Author Comment
f59d5348 10/21/2013 03:25 pm Nikos Skalkotos

Fix a typo in a update-helper msg

ce0c8432 09/20/2013 06:58 pm Nikos Skalkotos

Rephrase the snf-image-update-helper messages

29f35803 09/20/2013 06:53 pm Nikos Skalkotos

Add version check in snf-image-update-helper

9728e789 09/20/2013 04:55 pm Nikos Skalkotos

Remove HELPER_URL from defaults.in & common.sh.in

The variable should only exist in snf-image-update-helper. If the
user wants to overwrite the value, he should create it in
/etc/default/snf-image-update-helper

e34345cb 09/09/2013 04:56 pm Nikos Skalkotos

Update multistrap to create a wheezy helper

Repo and version pinning does not work yet

fc8cbf90 09/09/2013 03:18 pm Nikos Skalkotos

Rename create-fixed helper script to create-helper

Rename snf-image-create-fixed-helper script to snf-image-create-helper.
Also remove the command that will create a tar archive of the helper
files under /tmp

61b79815 09/02/2013 03:11 pm Nikos Skalkotos

Add extra -u option in snf-image-update-helper

This can be used to overwrite the default HELPER_URL

f7f72578 09/02/2013 02:11 pm Nikos Skalkotos

Beautify the messages of snf-image-update-helper

6854000a 09/02/2013 11:28 am Nikos Skalkotos

Add usage info in snf-image-update-helper

34e34e80 08/30/2013 02:18 pm Nikos Skalkotos

Reorganize the helper image creation scripts

Move the old snf-image-update-helper to snf-image-create-fixed-helper
and make the new snf-image-update-helper download a fixed helper image
specified by the HELPER_URL variable.

35ab9f4c 03/08/2013 08:31 pm Nikos Skalkotos

Rename snf-image-host to snf-image

107e56e0 02/08/2013 06:31 pm Nikos Skalkotos

In xen use the helper image in ro mode

Make sure everything works even when the root filesystem in the helper
VM is mounted read-only.

f7a4021c 02/07/2013 06:04 pm Nikos Skalkotos

Merge branch 'master' into xen

Conflicts:
snf-image-helper/common.sh
snf-image-host/Makefile.am
snf-image-host/common.sh.in
snf-image-host/create
snf-image-host/defaults

fcae4e91 02/07/2013 12:11 pm Nikos Skalkotos

Cleanup Xen code

Make it comply with the rest of the software. Some things are not
ready yet.

81d3d555 01/21/2013 06:38 pm Nikos Skalkotos

Make the size of the helper VM image configurable

Add a new HELPER_SIZE variable for this purpose. Default size is
hardcoded to 400MB

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

24f704d1 10/02/2012 06:53 pm Dimitris Aragiorgis

Use socat rather than screen for xm commands

Signed-off-by: Dimitris Aragiorgis <>

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.

1ea8db72 09/29/2012 05:46 am Dimitris Aragiorgis

Use socat to dump helper messages in case of xen

Helper gets a dummy interface and communication between helper
and host is done via socat STDIO INTERFACE:eth0/vif$helperid.0

Signed-off-by: Dimitris Aragiorgis <>

e9413eab 09/28/2012 09:41 pm Dimitris Aragiorgis

Make use of XenStore to export SUCCESS msg

Signed-off-by: Dimitris Aragiorgis <>

72052003 09/28/2012 08:17 pm Dimitris Aragiorgis

Xen support

Support launching helper domain on top of Xen hypervisor under PV mode.

Helper VM becomes hypervisor aware by passing hypervisor=$HYPERVISOR
in the kernel command line and thus acts accordingly (which logging
devices to use, what disk/floppy devices to expect, etc)...

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