History | View | Annotate | Download (3.3 kB)
Fix a typo in a update-helper msg
Rephrase the snf-image-update-helper messages
Add version check in snf-image-update-helper
Remove HELPER_URL from defaults.in & common.sh.in
The variable should only exist in snf-image-update-helper. If theuser wants to overwrite the value, he should create it in/etc/default/snf-image-update-helper
Update multistrap to create a wheezy helper
Repo and version pinning does not work yet
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 helperfiles under /tmp
Add extra -u option in snf-image-update-helper
This can be used to overwrite the default HELPER_URL
Beautify the messages of snf-image-update-helper
Add usage info in snf-image-update-helper
Reorganize the helper image creation scripts
Move the old snf-image-update-helper to snf-image-create-fixed-helperand make the new snf-image-update-helper download a fixed helper imagespecified by the HELPER_URL variable.
Rename snf-image-host to snf-image
In xen use the helper image in ro mode
Make sure everything works even when the root filesystem in the helperVM is mounted read-only.
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
Cleanup Xen code
Make it comply with the rest of the software. Some things are notready yet.
Make the size of the helper VM image configurable
Add a new HELPER_SIZE variable for this purpose. Default size ishardcoded to 400MB
Do not install a local helper package by default
snf-image-update-helper will only install a pkg retrieved from theapt unless -p option is specified.
Exit if the version check fails
Add new version_consistency_check in configure
This can be used to enable or disable the version check betweensnf-image-host and snf-image-helper at the end of the update-helperscript.
Remove caching
Using package caches to create the helper image is dangerous now thatsnf-image-helper is automatically retrieved.
Fix a bug introduced in f012a7dd3f0ed634f1a2215936
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
Seperate error messages from monitoring messages
Do not send through the monitor pipe the error messages. They maycontain internal sensitive information. Create a new report_errorfunction for sending errors through the monitoring pipe.
Conflicts: snf-image-host/create...
Support installing snf-image-helper from apt repos
snf-image-update-helper should check when creating a helper VM ifan snf-image-helper package was installed from an apt repositorythrough multistrap. If this is the case, snf-image-update-helpershould not complain about not finding the HELPER_PKG.
Use a seperated dir for update-helper cache files
By default this directory is $(LOCALSTATEDIR)/cache/snf-image/helper
Use socat rather than screen for xm commands
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Don't move the kernel out of the helper VM image
When snf-image-update-helper runned, it moved the kernel and theinitrd file out of the helper VM image. With this patch,snf-image-update-helper will copy the kernel to the host withoutremoving it from the image.
Use socat to dump helper messages in case of xen
Helper gets a dummy interface and communication between helperand host is done via socat STDIO INTERFACE:eth0/vif$helperid.0
Make use of XenStore to export SUCCESS msg
Xen support
Support launching helper domain on top of Xen hypervisor under PV mode.
Helper VM becomes hypervisor aware by passing hypervisor=$HYPERVISORin the kernel command line and thus acts accordingly (which loggingdevices to use, what disk/floppy devices to expect, etc)...
Delete helper img if errors occure during creation
If snf-image-update-helper exits with errors, delete the temporaryimage file from /var/lib/snf-image/helper.
Replace debootstrap with multistrap
multistrap is more flexible allows as to define more that onerepository to retrieve packages from.
Fix a bug in snf-image-update-helper
the kernel and init paths computed by snf-image-update-helper scriptwere incorrect.
Create a package list file after every debootstrap
This file is used to check if the cache file contains every packagedefined in HELPER_EXTRA_PKGS.
In update-helper ask before using a cache file
Make update-helper detect the systems's arch
The system's architecture is needed by debootstrap.
Fix license and copyright
Some files were accidentally left out from the last license andcopyright fix.
Remove forgotten -l option in update-helper
Beautify help msg in update-helper
Also remove `-l' option. It's no longer needed.
Add input options in update-helper script
Fix issues #1531 #1532 #1533
Avoid activating snf-image-helper by mistake
Only activate the snf-image-helper automatically if the callerhas 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.
Replace losetup in update-helper with the $LOSETUP
This is really minor, but since we are using a bash var for losetup increate, which is overwritable from the defaults file, lets keep it thatway.
Mass cleanup and some bug fixing
Fix minor typos in update-helper script
Beautify the output of update-helper script
Remove filesystem scan enforcement rules in helper
Helper image should never have filesystem checks. The default rule mkfsimplies is to check every 24 mounts or 180 days.
Make update-helper update the images /etc/rc.local
This is needed in order to make the helpers code autorun
Add further functionality in update-helper script
Move update-helper script to snf-image-host