Steve McIntyre [Tue, 24 Jan 2017 15:49:59 +0000 (15:49 +0000)]
Force EFI grub installation on amd64 with uefi
Steve McIntyre [Tue, 24 Jan 2017 13:28:01 +0000 (13:28 +0000)]
Add UEFI and arm64 support
Add option for UEFI boot instead of legacy MBR boot:
* Add a new -bt | --boot-type option to control how this works
When UEFI is selected:
+ Switch to using GPT instead of MSDOS partitions
+ Create a small ESP for UEFI boot and place boot files there
* Depends on using Grub for booting
Add initial arm64 support
* Parameterise various hard-coded "amd64" places to use ${ARCH}
instead, with the default value for ARCH set to amd64.
* Add a new --architecture option to specify which architecture to
build for. This won't do cross-builds, but will simply pick the
right architecture bits to match. Only amd64 and arm64 are
supported for now.
* arm64 depends on UEFI, Grub and a different default console
output too.
Update Depends:
* Don't depend on mbr or extlinux on !x86
* Need dosfstools for UEFI
Other minor changes:
Defrag the filesystem before we finish. This may help performance, and
will definitely give better shrinking results.
Use LC_ALL=C to avoid locale noise in the chroot
Thomas Goirand [Thu, 1 Dec 2016 09:49:32 +0000 (09:49 +0000)]
Uses --force when calling install-mbr.
Thomas Goirand [Thu, 1 Dec 2016 09:46:45 +0000 (09:46 +0000)]
* Do not install libpam-systemd at the debootstrap phase, sa this pulls
both systemd-sysv and systemd-shim which are failing the bootstrap.
Thomas Goirand [Thu, 16 Jun 2016 09:26:19 +0000 (11:26 +0200)]
Add NoCloud as possible datasource. (Closes: #826954)
Thomas Goirand [Wed, 8 Jun 2016 09:16:19 +0000 (11:16 +0200)]
Fixed malformed 90_dpkg.cfg yaml (Closes: #826561).
Thomas Goirand [Tue, 31 May 2016 08:52:04 +0000 (08:52 +0000)]
Document the boot manager option in the man page.
Thomas Goirand [Tue, 31 May 2016 08:34:23 +0000 (08:34 +0000)]
* Do not use grub-pc from the host, and remove matching Depends: of grub-pc
(Closes: #825888).
Thomas Goirand [Thu, 19 May 2016 19:54:24 +0000 (19:54 +0000)]
Releasing to unstable.
Thomas Goirand [Thu, 19 May 2016 19:48:30 +0000 (19:48 +0000)]
Add "source /etc/network/interfaces.d/*" in interfaces (Closes: #820120).
Thomas Goirand [Wed, 18 May 2016 13:55:18 +0000 (15:55 +0200)]
Add grub support, and make it default over syslinux (Closes: #816196).
Thomas Goirand [Wed, 18 May 2016 12:50:02 +0000 (12:50 +0000)]
Standards-Version is now 3.9.8 (no change).
Thomas Goirand [Wed, 18 May 2016 12:49:03 +0000 (12:49 +0000)]
Releasing to unstable.
Thomas Goirand [Wed, 18 May 2016 08:42:37 +0000 (10:42 +0200)]
Document --azure in the man page.
Thomas Goirand [Wed, 18 May 2016 08:40:14 +0000 (10:40 +0200)]
Do not run raw to qcow2 conversion if we're building an azure image.
Thomas Goirand [Fri, 13 May 2016 12:14:59 +0000 (14:14 +0200)]
Added an explicite LICENSE.txt Apache-2.0 file.
Thomas Goirand [Fri, 13 May 2016 12:12:46 +0000 (14:12 +0200)]
Merge Azure script into build-openstack-debian-image.
Thomas Goirand [Thu, 12 May 2016 08:30:50 +0000 (10:30 +0200)]
* Adds missing python3-cffi-backend which python3-cryptography seem to need
in Stretch (this otherwise fails debootstrap).
* Fix console blanking fix in Stretch (ie: /etc/kbd/config doesn't exist
anymore).
Thomas Goirand [Wed, 20 Apr 2016 12:52:15 +0000 (12:52 +0000)]
* Removed Thomas Bechtold <toabctl@debian.org> from uploaders, as it is
unlikely he will upload again.
* Standards-Version is now 3.9.7.
Thomas Goirand [Wed, 20 Apr 2016 12:46:59 +0000 (14:46 +0200)]
* Added "biosdevname=0 net.ifnames=0" to the kernel default command line, to
avoid eth renaming, which destroys the network. Though this is a temporary
hack until we get a more recent cloud-init which handles it.
Ondřej Nový [Sun, 28 Feb 2016 14:31:18 +0000 (15:31 +0100)]
Fixed VCS URLs (https).
Thomas Goirand [Mon, 14 Sep 2015 09:59:25 +0000 (09:59 +0000)]
Added aptitude as installed packages. (Closes: #797962)
Thomas Goirand [Mon, 14 Sep 2015 09:56:21 +0000 (09:56 +0000)]
Using httpredir.debian.org instead of http.debian.net (Closes: #792362).
Thomas Goirand [Mon, 1 Jun 2015 07:24:14 +0000 (07:24 +0000)]
* Added a couple of sync calls to make sure we don't have a race condition
when removing the loopback device using kpartx.
Thomas Goirand [Mon, 1 Jun 2015 07:08:04 +0000 (07:08 +0000)]
* Changed the loging for the list of packages for wheezy and other releases
of Debian (it was selecting the list of package for Wheezy for Stretch and
buster).
Thomas Goirand [Mon, 1 Jun 2015 06:58:24 +0000 (06:58 +0000)]
Fixed syntax error.
Thomas Goirand [Mon, 1 Jun 2015 06:56:27 +0000 (06:56 +0000)]
Fixed gbp.conf
Thomas Goirand [Mon, 1 Jun 2015 06:55:44 +0000 (08:55 +0200)]
Removed non-active maintainers.
Thomas Goirand [Mon, 1 Jun 2015 06:55:09 +0000 (08:55 +0200)]
* Added patches contributed by Gaudenz Steinlin <gaudenz@debian.org>
(Closes: #784334):
- By default the rescue and emergency shell are started on the boot
console. This is ttyS0 on this image in order to have the boot output on
the serial console which is accessible by "nova console-log". But there
is no input device connected to this console, so the shells there are
pretty useless. On the other hand tty0 is accessible via the spice or
VNC console.
- Only install extlinux in /boot/extlinux. Some parts were installed in
/ only, others in both locations.
- Remove the quiet flag from the standard boot command. This is usefull on
desktops to not clutter the boot screen, but not on a cloud image.
- Use symlinks to kernel and initrd. This allows seamless kernel upgrades.
Thomas Goirand [Mon, 11 May 2015 16:44:24 +0000 (18:44 +0200)]
Now changing the version number on the output file depending on the release name of Debian.
Thomas Goirand [Wed, 6 May 2015 20:31:06 +0000 (22:31 +0200)]
Added script to build a murano image in the contrib folder.
Thomas Goirand [Tue, 5 May 2015 15:55:27 +0000 (17:55 +0200)]
Adds nano as default when not using the --minimal flag (Closes: #783341).
Thomas Goirand [Tue, 5 May 2015 15:44:48 +0000 (17:44 +0200)]
* Adds dbus + libpam-systemd when building a Jessie image, and acpid +
acpi-support-base when building a Wheezy image, so that ACPI shutdown works
by default (Closes: #783448).
Thomas Goirand [Tue, 5 May 2015 13:49:29 +0000 (15:49 +0200)]
* Also adds security repository if building an image for Jessie. Previously,
this was done only for Wheezy (Closes: #783480).
Thomas Goirand [Tue, 5 May 2015 13:45:00 +0000 (15:45 +0200)]
Removed the tweak of /etc/modules, as acpiphp and pci_hotplug aren't in the
Jessie kernel: they are built not as module (Closes: #783340).
Thomas Goirand [Fri, 24 Apr 2015 20:57:56 +0000 (22:57 +0200)]
More stuff for the offical debian image.
Thomas Goirand [Wed, 28 Jan 2015 12:48:30 +0000 (12:48 +0000)]
Fix readability of debian/changelog.
Thomas Goirand [Wed, 28 Jan 2015 12:46:35 +0000 (12:46 +0000)]
* Adds the contrib/official-debian-image-hook script used for generating the
official Debian image.
Thomas Goirand [Mon, 26 Jan 2015 14:52:34 +0000 (14:52 +0000)]
Allow stretch and buster as release names.
Thomas Goirand [Mon, 26 Jan 2015 14:20:37 +0000 (15:20 +0100)]
* Error as non-zero in case of an error (Closes: #776216). Thanks to Steve
McIntyre <steve@einval.com> for the bug report and patch.
Thomas Goirand [Mon, 26 Jan 2015 14:16:21 +0000 (15:16 +0100)]
* Uses 2GB by default as for the image, as 1GB isn't big enough for building
it anymore (Closes: #776217). Thanks to Steve McIntyre <steve@einval.com>
for the bug report.
Thomas Goirand [Tue, 25 Nov 2014 13:47:17 +0000 (21:47 +0800)]
changelog closes 770943
Thomas Goirand [Fri, 21 Nov 2014 05:50:54 +0000 (13:50 +0800)]
Fixed compat option for newer qemu.
Thomas Goirand [Sat, 25 Oct 2014 07:53:14 +0000 (07:53 +0000)]
Standards-Version is now 3.9.6 (no change).
Thomas Goirand [Sat, 25 Oct 2014 07:52:25 +0000 (07:52 +0000)]
Finally calling this version 1.0 as it seems working well! :)
Thomas Goirand [Sat, 25 Oct 2014 07:51:02 +0000 (15:51 +0800)]
Fixed the sudoers file to support the --login option. (Closes: #766234)
Mehdi Abaakouk [Mon, 1 Sep 2014 08:21:41 +0000 (10:21 +0200)]
systemd doesn't log on kernel configured console by default...
Mehdi Abaakouk [Tue, 5 Aug 2014 15:24:08 +0000 (17:24 +0200)]
Try offline cloud-init datasource first
Mehdi Abaakouk [Tue, 5 Aug 2014 15:11:53 +0000 (17:11 +0200)]
Ensure /boot/extlinux exists
On jessie, the /boot/extlinux doesn't exists anymore by default
just always create it.
Mehdi Abaakouk [Tue, 5 Aug 2014 14:33:15 +0000 (16:33 +0200)]
Add two openstack, configdrive cloud-init datasource
Now openstack have it own datasource additionnally to the ec2,
and it also supports the configdrive datasource when an instance is booted with:
nova boot --configdrive --user-meta .... vm
Thomas Goirand [Sun, 20 Jul 2014 16:12:03 +0000 (00:12 +0800)]
Comment out "Using -O compat=0.10 when qemu-img is greater than 1.0." for now.
Thomas Goirand [Sun, 20 Jul 2014 05:34:15 +0000 (13:34 +0800)]
* Using -O compat=0.10 when qemu-img is greater than 1.0.
* Using "console=tty0 console=ttyS0,115200" as boot parameter. The issue to
not being able to log into multiple console is in bootlogd (see Debian bug
181756).
Thomas Goirand [Thu, 3 Jul 2014 09:20:43 +0000 (17:20 +0800)]
Added an option to choose the login username, thanks to Jordan Pittier
<jordan.pittier@gmail.com> for providing the feature (Closes: #752787).
Thomas Goirand [Tue, 6 May 2014 09:31:15 +0000 (09:31 +0000)]
Releasing to unstable.
Thomas Goirand [Tue, 6 May 2014 08:45:59 +0000 (16:45 +0800)]
Adds manage_etc_hosts: true in /etc/cloud/cloud.cfg
Thomas Goirand [Fri, 2 May 2014 16:44:07 +0000 (16:44 +0000)]
Added the flag -s to kpart -asv. (Closes: #741477).
Thomas Goirand [Fri, 2 May 2014 16:42:12 +0000 (16:42 +0000)]
Document: Allow upgrades during build of image.
Thomas Bechtold [Wed, 22 Jan 2014 13:34:56 +0000 (14:34 +0100)]
Also install updates during image build
Thomas Goirand [Wed, 8 Jan 2014 14:51:48 +0000 (14:51 +0000)]
Removes openstack-pkg-tools build-dependency, and made the include in debian/rules not mandatory.
Thomas Goirand [Wed, 8 Jan 2014 14:50:19 +0000 (14:50 +0000)]
Standards-Version: is now 3.9.5.
Thomas Goirand [Wed, 8 Jan 2014 12:01:14 +0000 (20:01 +0800)]
Adds echo "mount_default_fields:" in /etc/cloud/cloud.cfg to allow the automatic mount of /dev/vdb ephemeral disk.
Thomas Goirand [Fri, 6 Dec 2013 16:03:07 +0000 (00:03 +0800)]
Fixes the console so that it works with both SPICE & horizon logs, thanks
to Jordan Pittier <jordan.pittier-ext@cloudwatt.com> for reporting and
finding the solution (Closes: #726619).
Thomas Goirand [Sat, 30 Nov 2013 02:43:50 +0000 (10:43 +0800)]
Using medium priority.
Thomas Goirand [Fri, 8 Nov 2013 08:06:28 +0000 (16:06 +0800)]
Corrects "Using the -ar option truncates 5% off the end of the resized filesystem." by using Mi instead of M when using parted (Closes: #728939).
Thomas Goirand [Thu, 7 Nov 2013 06:20:59 +0000 (14:20 +0800)]
Correctly writes in ${MOUNT_DIR}/etc/modules and not in the /etc/modules of the computer creating the image (Closes: #728943).
Thomas Goirand [Fri, 25 Oct 2013 12:49:34 +0000 (20:49 +0800)]
Added a new example folder showing how to create a NFS cinder VM using a static IP in Quantum.
Thomas Goirand [Tue, 15 Oct 2013 10:48:37 +0000 (18:48 +0800)]
Move the password description in man page because it was putting the env variable in the wrong section.
Mehdi Abaakouk [Thu, 10 Oct 2013 11:09:49 +0000 (13:09 +0200)]
Update the debian/changelog according my last changes
Mehdi Abaakouk [Wed, 9 Oct 2013 15:47:36 +0000 (17:47 +0200)]
Restore the default sshd configuration
The default value of AuthorizedKeysFile is authorized_keys and
authorized_keys2.
cloud-init work well with the default configuration
Thomas Goirand [Thu, 26 Sep 2013 06:13:32 +0000 (06:13 +0000)]
Changelog closes #718363
Thomas Goirand [Mon, 29 Jul 2013 11:12:47 +0000 (19:12 +0800)]
Fixed a typo in package long description.
Thomas Goirand [Sun, 28 Jul 2013 14:47:49 +0000 (14:47 +0000)]
usefull -> useful in man page.
Thomas Goirand [Sun, 28 Jul 2013 14:46:37 +0000 (14:46 +0000)]
hyphen as minux in man page.
Thomas Goirand [Sun, 28 Jul 2013 14:45:55 +0000 (14:45 +0000)]
Fixes syntax error in switch/case.
Thomas Goirand [Sun, 28 Jul 2013 14:43:29 +0000 (14:43 +0000)]
Fixed minus as hyphen in man page.
Thomas Goirand [Sun, 28 Jul 2013 14:42:41 +0000 (14:42 +0000)]
Releasing.
Thomas Goirand [Sun, 28 Jul 2013 14:41:27 +0000 (22:41 +0800)]
Added an option to set a default root password.
Thomas Goirand [Wed, 17 Jul 2013 10:31:06 +0000 (18:31 +0800)]
More documentation.
Thomas Goirand [Wed, 17 Jul 2013 10:09:46 +0000 (18:09 +0800)]
Fixes the truncate size which was destroying the filesystem.
Thomas Goirand [Wed, 17 Jul 2013 08:40:28 +0000 (16:40 +0800)]
Fixes install-mbr
Thomas Goirand [Wed, 17 Jul 2013 08:05:07 +0000 (16:05 +0800)]
Re-added the boot flag set
Thomas Goirand [Wed, 17 Jul 2013 07:22:34 +0000 (15:22 +0800)]
Always do install-mbr (otherwise, it just fails to boot).
Thomas Goirand [Tue, 16 Jul 2013 17:09:38 +0000 (01:09 +0800)]
Made feature to automatically resize as an option, added option to select image size.
Thomas Goirand [Tue, 16 Jul 2013 08:19:55 +0000 (16:19 +0800)]
Forgot "apt-get" when installing cloud-init and friends for Wheezy.
Thomas Goirand [Mon, 8 Jul 2013 07:08:44 +0000 (15:08 +0800)]
Yet another man page improvement.
Thomas Goirand [Mon, 8 Jul 2013 07:05:09 +0000 (15:05 +0800)]
Fixed comments when setting-up the list of packages
Thomas Goirand [Mon, 8 Jul 2013 07:02:23 +0000 (15:02 +0800)]
Removed the double-defined -e option in man page.
Thomas Goirand [Mon, 8 Jul 2013 07:00:59 +0000 (15:00 +0800)]
Now using --sources.list-mirror and not --source-list-mirror
Thomas Goirand [Mon, 8 Jul 2013 06:59:33 +0000 (14:59 +0800)]
Added a --source-list-mirror option
Thomas Goirand [Mon, 8 Jul 2013 05:15:12 +0000 (13:15 +0800)]
Installs cloud-init, cloud-utils and cloud-initramfs-growroot from backports in Wheezy, since they are now available from there.
Thomas Goirand [Thu, 4 Jul 2013 04:14:09 +0000 (12:14 +0800)]
Document the -e option in the man page.
Mehdi Abaakouk [Wed, 3 Jul 2013 10:17:57 +0000 (12:17 +0200)]
Allow image > 1G, Shrink image, catch error/exit to cleanup system
* Allow to create image larger than 1G
* Shrink image to a minimal size
* Umount chroot and delete devmapper stuff on error/interruption
Thomas Goirand [Tue, 2 Jul 2013 09:55:38 +0000 (17:55 +0800)]
Added the possibility to use a hook script to customize further the image.
Thomas Goirand [Sat, 15 Jun 2013 14:50:15 +0000 (14:50 +0000)]
Releasing version 0.2
Thomas Goirand [Sat, 15 Jun 2013 14:43:02 +0000 (22:43 +0800)]
Don't setup a password for root.
Thomas Goirand [Sat, 15 Jun 2013 14:42:19 +0000 (22:42 +0800)]
Don't setup a password for root.
Thomas Goirand [Sat, 15 Jun 2013 14:14:23 +0000 (14:14 +0000)]
Fixed the sources.list
Thomas Goirand [Thu, 13 Jun 2013 06:15:43 +0000 (06:15 +0000)]
Adds the installation of the kbd package, and disabling of consol blanking.
Thomas Goirand [Tue, 11 Jun 2013 08:48:01 +0000 (16:48 +0800)]
Review the script man page.
Thomas Goirand [Mon, 10 Jun 2013 03:42:51 +0000 (11:42 +0800)]
Also unmount the /proc of the image folder in /tmp in case we abort due to the .deb files missing.