summaryrefslogtreecommitdiff
path: root/vmdebootstrap
AgeCommit message (Collapse)AuthorFilesLines
2015-09-13reinstate headless support from masterNeil Williams1-7/+5
2015-09-08move the uefi settings checks into the helperNeil Williams1-0/+28
2015-09-02Port the task-based scripts from tests with debian-cdNeil Williams1-2/+9
2015-09-02move some more functions into modulesNeil Williams6-1/+50
2015-08-31Add examples for UEFI hook.Neil Williams3-0/+20
Document task package usage in the README
2015-08-18check that the ESP is mounted before trying to configureNeil Williams2-10/+27
2015-08-16fix mount operations around uefiNeil Williams2-4/+5
2015-08-16use a constants handlerNeil Williams4-44/+97
Add support for using squashfs as an alternative to creating a tarball of a directory tree.
2015-08-16fixupsNeil Williams2-17/+9
2015-08-16add setuptools supportNeil Williams7-8/+309
2015-08-16move handlers into a module directoryNeil Williams8-801/+556
2015-08-16initial handler layoutNeil Williams1-499/+227
2015-08-14Initial support for UEFI imagesNeil Williams1-40/+253
2015-07-04Specific support for wheezy networking.Neil Williams1-1/+8
2015-06-28Enable networking in source directoryNeil Williams1-10/+14
To allow customisation in /etc/network/interfaces.d/, ensure that /etc/network/interfaces looks into the source directory and put the initial config in a setup file in the source directory.
2015-06-28Let acpid be omittedNeil Williams1-1/+5
Debian Bug: #784638
2015-06-28Add distro-info support for kernel namesNeil Williams1-9/+48
Add a check on the distribution name and support checking for the kernel package name based on the suite specified. Add a kernel-package option for other situations.
2015-05-02pylint tweaksNeil Williams1-2/+3
2015-05-02Set a default boot partition offset with grubNeil Williams1-0/+2
Installing grub with boot partition requires an offset before the first partition. Closes: #782307.
2015-05-02Exclude syslinux support when using grubNeil Williams1-1/+1
Fall back to syslinux support if grub2 fails.
2015-05-02Only configure console if serial-console is setNeil Williams1-10/+14
Closes: #782304 Adapted patch from Jan Gerber <j@mailb.org>
2015-05-02Default to armmp kernel for armhf architecture.Neil Williams1-1/+3
From: Vagrant Cascadian <vagrant@debian.org> Bug: #776975
2015-04-10install grub-pc instead of grub2Neil Williams1-1/+1
Ubuntu only has grub-pc in its main repository while the grub2 transitional package is in universe. To support creating Ubuntu images install grub-pc. This works for both Debian and Ubuntu. Jan Gerber <j@mailb.org>
2015-01-04python3 tweakNeil Williams1-1/+1
2015-01-04Ensure all tests for swap look for a numberNeil Williams1-9/+10
settings['swap'] is bytesize, so is set to 0 when not in use.
2015-01-04Allow builds without a ttyNeil Williams1-1/+4
Closes: #747373 Patch from Nick Daly <nick.m.daly@gmail.com>
2015-01-02Set serial and graphical grub output terminalNeil Williams1-0/+11
Allows qemu to boot a GRUB image with the -nographic option.
2015-01-02Add swap supportNeil Williams1-7/+42
Closes: #764337
2015-01-02allow setting rootfstype to support ext3Neil Williams1-1/+5
2015-01-02silence the apt update in configure-aptNeil Williams1-1/+1
2015-01-02Allow chown to operate with tarballsNeil Williams1-8/+16
Ensure apt has usable lists by running update in configure_apt. Fix typo in installed_packages.
2014-12-27add mbr back to support extlinux and check for installation of mbr.Neil Williams1-2/+6
2014-12-25fix creation of extlinux configurationNeil Williams1-10/+13
2014-12-23drop necessary packages and use the include list directlyNeil Williams1-10/+6
2014-12-23Allow space for a bootloader installed with ddNeil Williams1-7/+32
Implement bootoffset to explcitly allow space for a bootloader to be installed in front of the first partition. Add support for cubietruck in the example to dd the Debian uboot image by adding a parameter to the customise script call. Increase size of boot partition to make upgrades easier. Allow the partition type to be specified. Use mib units as these are converted to 1024 instead of 1000.
2014-12-23Fix package lists if no necessary packages existNeil Williams1-3/+7
On foreign architectures, it is quite possible to not have "necessary_packages", so append the user- specified list and the necessary list separately. Tidy up undefined local variables.
2014-12-23Improve structure and fix pylint issuesNeil Williams1-121/+164
2014-12-23Print which distribution is being debootstrappedNeil Williams1-1/+2
Closes: #767806
2014-12-22Add support for apt mirror and package list.Neil Williams1-30/+54
Include support to assist with official images, including changing from a local mirror to a specified apt mirror and outputting the list of binary package names installed.
2014-11-16Fix typo in bootsize partition spacevmdebootstrap-0.5Neil Williams1-2/+2
Update manpage advice on bootloader options.
2014-10-18Add sparse option to not fill image with zerosNeil Williams1-3/+7
Patch from Jan Gerber <j@mailb.org>
2014-10-18improve error message with a hint to install grub2-commonNeil Williams1-1/+1
2014-10-16Switch to http.debian.netNeil Williams1-1/+1
2014-10-16Run update-initramfs -u after installing kernelNeil Williams1-5/+11
The kernel package can be installed with the rest of the package but ensure that the initramfs is updated after all packages are installed.
2014-08-31pep8 fixesNeil Williams1-2/+2
2014-08-31Add environment support to runcmd and pass noninteractive environment to ↵Neil Williams1-8/+23
second-stage as debootstrap does this automatically on native runs.
2014-08-28Use simple subprocess call for default_arch to prevent early use of run_cmd ↵Neil Williams1-4/+3
causing problems with log output
2014-08-28handle missing customise scripts cleanly with fallback to upstream examples.Neil Williams1-4/+11
2014-08-26Add support for grub2 configuration, falling back to extlinux on error.Neil Williams1-2/+33
2014-08-26Let configure-apt be optional to prevent duplicate apt sources on native.Neil Williams1-4/+5