]> git.siccegge.de Git - forks/vmdebootstrap.git/log
forks/vmdebootstrap.git
10 years agoAdd configure_apt option and preserve the debootstrap log in case of debootstrap...
Neil Williams [Tue, 26 Aug 2014 02:41:53 +0000 (19:41 -0700)]
Add configure_apt option and preserve the debootstrap log in case of debootstrap failures.

10 years agopep8 fixes
Neil Williams [Mon, 25 Aug 2014 20:32:21 +0000 (13:32 -0700)]
pep8 fixes

10 years agoAdd manpage content for newly added options.
Neil Williams [Mon, 25 Aug 2014 04:48:01 +0000 (21:48 -0700)]
Add manpage content for newly added options.

10 years agoAdd squashfs support
Neil Williams [Sun, 24 Aug 2014 22:40:26 +0000 (15:40 -0700)]
Add squashfs support

10 years agoMove inittab change outside extlinux install function to allow usage on systems not...
Neil Williams [Sun, 24 Aug 2014 18:30:35 +0000 (11:30 -0700)]
Move inittab change outside extlinux install function to allow usage on systems not using extlinux.

10 years agoMerge Debian manpage changes
Neil Williams [Sun, 10 Aug 2014 13:34:23 +0000 (14:34 +0100)]
Merge Debian manpage changes

Update for changes in master branch.

10 years agoAllow option to chown the image when complete.
Neil Williams [Sun, 10 Aug 2014 13:32:55 +0000 (14:32 +0100)]
Allow option to chown the image when complete.

(Closes: #748477)
Patch from Nick Daly <nick.m.daly@gmail.com>

10 years agoFix typo in README
Tollef Fog Heen [Mon, 7 Apr 2014 08:56:50 +0000 (10:56 +0200)]
Fix typo in README

10 years agoIgnore failure to set host name
Tollef Fog Heen [Mon, 7 Apr 2014 08:53:52 +0000 (10:53 +0200)]
Ignore failure to set host name

At least minbase does not end up with an /etc/hosts file, so ignore
IOErrors for the hosts file.

10 years agoCheck for extlinux, not no-extlinux, fixes crash
Tollef Fog Heen [Mon, 7 Apr 2014 08:17:11 +0000 (10:17 +0200)]
Check for extlinux, not no-extlinux, fixes crash

10 years agoChange --no-extlinux to --extlinux
Lars Wirzenius [Tue, 18 Mar 2014 21:49:23 +0000 (21:49 +0000)]
Change --no-extlinux to --extlinux

This way, we have options --extlinux (default) and --no-extlinux,
instead of --no-extlinux and --no-no-extlinux.

10 years agoApply patch from Neil Williams to fix kpartx timing problem
Lars Wirzenius [Tue, 18 Mar 2014 21:40:32 +0000 (21:40 +0000)]
Apply patch from Neil Williams to fix kpartx timing problem

10 years agoMake kpartx wait until partitions are actually created.
Sunil Mohan Adapa [Thu, 13 Mar 2014 11:38:02 +0000 (17:08 +0530)]
Make kpartx wait until partitions are actually created.

This should fix an issue with /dev/mapper/loop* partition not
being available for mkfs step after kpartx as reported by many users.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741407

11 years agoUpdate copyright info in README
Lars Wirzenius [Fri, 15 Nov 2013 13:39:49 +0000 (13:39 +0000)]
Update copyright info in README

11 years agoUpdate version number in program
Lars Wirzenius [Fri, 15 Nov 2013 13:38:51 +0000 (13:38 +0000)]
Update version number in program

11 years agoUpdate NEWS for 0.2 release
Lars Wirzenius [Fri, 15 Nov 2013 13:38:36 +0000 (13:38 +0000)]
Update NEWS for 0.2 release

11 years agoUpdate copyright date
Lars Wirzenius [Fri, 15 Nov 2013 13:38:29 +0000 (13:38 +0000)]
Update copyright date

11 years agoAnother bugfix from Pere
Lars Wirzenius [Sun, 27 Oct 2013 21:24:51 +0000 (21:24 +0000)]
Another bugfix from Pere

11 years agoMerged fixups from Petter Reinholdtsen
Lars Wirzenius [Sun, 27 Oct 2013 13:22:50 +0000 (13:22 +0000)]
Merged fixups from Petter Reinholdtsen

11 years agoMerge branch 'master' of git://git.liw.fi/vmdebootstrap
Lars Wirzenius [Sat, 26 Oct 2013 21:57:47 +0000 (22:57 +0100)]
Merge branch 'master' of git://git.liw.fi/vmdebootstrap

11 years agoAdd support for building "foreign" images, ie non host arch images. This make it...
Petter Reinholdtsen [Sat, 26 Oct 2013 19:38:20 +0000 (21:38 +0200)]
Add support for building "foreign" images, ie non host arch images. This make it possible to use vmdebootstrap to create Raspberry Pi images. It add support for these new options:

  --bootsize size   when not the defautl '0%', create /boot/ partition
               of the given size

  --boottype fstype file system type of /boot/ (default ext2)

  --foreign /path/to/binfmt_handler
                    When set, use foreign support in debootstrap.

  --variant variant ask debootstrap to build variant, not the
            default base system.

  --no-extlinux     skip installation of extlinux, depend on customize
                    script to make image bootable.

With this patch in place, I got a working Raspberry PI image by adding
a small customize script to install the binary blob needed to boot the
Raspberry Pi.

11 years agoRelease version 0.1.0
Lars Wirzenius [Tue, 23 Jul 2013 11:35:35 +0000 (12:35 +0100)]
Release version 0.1.0

11 years agoFix eth0 to come up automatically
Lars Wirzenius [Sun, 14 Jul 2013 16:04:06 +0000 (17:04 +0100)]
Fix eth0 to come up automatically

Thank you, Antonio Terceiro.

11 years agoOptimize final image compression rate
Antonio Terceiro [Tue, 11 Jun 2013 14:44:04 +0000 (11:44 -0300)]
Optimize final image compression rate

Filling up the image with zeros makes its compression rate a lot higher.
Together with running `apt-get clean`, I got an 1GB image compressed
down to 106M, against to 210M without these 2 changes.

11 years agoclean up APT cache after installing packages
Antonio Terceiro [Tue, 11 Jun 2013 14:44:03 +0000 (11:44 -0300)]
clean up APT cache after installing packages

This will significantly increase the compression rate of generated images

11 years agoAllow custom command to handle the serial console
Antonio Terceiro [Tue, 11 Jun 2013 14:44:02 +0000 (11:44 -0300)]
Allow custom command to handle the serial console

The need I am addressing with this is making the serial console
auto-login as root. For this right now I'm using the auto-serial-console
program from the linaro-overlay package:

https://launchpad.net/~linaro-maintainers/+archive/overlay/+files/linaro-overlay_1112.2.dsc

In the near future I plan to port the generic parts of that package to
Debian under the name auto-serial-console or some similar

11 years agoFix kernel package names
Lars Wirzenius [Mon, 10 Jun 2013 20:51:32 +0000 (21:51 +0100)]
Fix kernel package names

11 years agoAlways install acpid
Lars Wirzenius [Mon, 15 Apr 2013 17:55:37 +0000 (18:55 +0100)]
Always install acpid

Otherwise shutdown, reboot don't work reliably.

11 years agoFix if statement indentation
Lars Wirzenius [Mon, 15 Apr 2013 17:54:29 +0000 (18:54 +0100)]
Fix if statement indentation

11 years agoErf, undo the removal of mbr
Lars Wirzenius [Sat, 6 Apr 2013 08:59:43 +0000 (09:59 +0100)]
Erf, undo the removal of mbr

Faulty testing on my part.

11 years agoMerge branch 'no-mbr'
Lars Wirzenius [Fri, 5 Apr 2013 21:51:03 +0000 (22:51 +0100)]
Merge branch 'no-mbr'

11 years agoUpdate README to drop mbr dependency
Lars Wirzenius [Fri, 5 Apr 2013 21:50:39 +0000 (22:50 +0100)]
Update README to drop mbr dependency

11 years agoRemove use of mbr
Lars Wirzenius [Fri, 5 Apr 2013 21:50:21 +0000 (22:50 +0100)]
Remove use of mbr

It turns out mbr is not needed, extlinux works on its own. Stupid me.

11 years agoDon't make boots be quiet
Lars Wirzenius [Mon, 25 Mar 2013 21:18:06 +0000 (21:18 +0000)]
Don't make boots be quiet

12 years agoAdd missing copy of GPLv3
Lars Wirzenius [Sat, 13 Oct 2012 18:27:07 +0000 (19:27 +0100)]
Add missing copy of GPLv3

12 years agoMerge remote-tracking branch 'remotes/richard_maw/tar-no-kernel'
Lars Wirzenius [Sat, 13 Oct 2012 07:51:15 +0000 (08:51 +0100)]
Merge remote-tracking branch 'remotes/richard_maw/tar-no-kernel'

Signed-off-by: Lars Wirzenius <liw@liw.fi>
12 years agoMerge remote-tracking branch 'richard_maw/richardmaw/tarball-option'
Lars Wirzenius [Sat, 13 Oct 2012 07:41:43 +0000 (08:41 +0100)]
Merge remote-tracking branch 'richard_maw/richardmaw/tarball-option'

Signed-off-by: Lars Wirzenius <liw@liw.fi>
12 years agoMerge branch 'no-kernel-option' into tar-no-kernel
Richard Maw [Thu, 11 Oct 2012 09:54:26 +0000 (10:54 +0100)]
Merge branch 'no-kernel-option' into tar-no-kernel

Conflicts:
vmdebootstrap

12 years agoDon't run debootstrap with empty --include=
Richard Maw [Thu, 11 Oct 2012 09:45:36 +0000 (10:45 +0100)]
Don't run debootstrap with empty --include=

Since the kernel may not be included any more, it is possible to
get an empty include list, which debootstrap complains is invalid.

To solve this, restructure the runcmd, so that it checks the include
list before attempting to add --include to the argument list.

12 years agoRun customize before install_extlinux
Richard Maw [Thu, 11 Oct 2012 09:22:28 +0000 (10:22 +0100)]
Run customize before install_extlinux

install_extlinux requires the kernel, since it is no longer mandatory
that debootstrap installs it, the kernel may be added in customize.

12 years agoMerge branch 'richardmaw/tarball-option' into tar-no-kernel
Richard Maw [Thu, 11 Oct 2012 09:20:09 +0000 (10:20 +0100)]
Merge branch 'richardmaw/tarball-option' into tar-no-kernel

12 years agoAdd --no-kernel option
Richard Maw [Thu, 11 Oct 2012 09:13:36 +0000 (10:13 +0100)]
Add --no-kernel option

This prevents vmdebootstrap automatically adding a kernel.

This is arguably required, since vmdebootstrap may be used for
a platform which does not have a kernel in the standard repositories.

12 years agoAdd --tarball option to create a tar of the disk
Richard Maw [Wed, 10 Oct 2012 15:59:31 +0000 (16:59 +0100)]
Add --tarball option to create a tar of the disk

The configuration of debootstrap is useful even if a disk image is
not created, and allows the same configuration to be used for targets
that don't accept a raw disk image.

It's possible to use both --image and --tarball, in which case
it behaves the same as --image, but also creates a tarball of the
contents of the disk image.

If --tarball is specified, but --image isn't then, instead of creating
a disk image, it will debootstrap into a temporary directory.

12 years agoLog messages
Lars Wirzenius [Sun, 26 Aug 2012 21:24:28 +0000 (22:24 +0100)]
Log messages

12 years agoUse the usual cliapp.runcmd and not our bastard version
Lars Wirzenius [Mon, 16 Jul 2012 14:05:11 +0000 (15:05 +0100)]
Use the usual cliapp.runcmd and not our bastard version

12 years agoFix copyright statements
Lars Wirzenius [Mon, 16 Jul 2012 13:41:19 +0000 (14:41 +0100)]
Fix copyright statements

12 years agoCreate password-less accounts when requested
Lars Wirzenius [Mon, 16 Jul 2012 13:40:52 +0000 (14:40 +0100)]
Create password-less accounts when requested

12 years agoCleanups and --lock-root-password and no default root password
Lars Wirzenius [Mon, 16 Jul 2012 13:31:53 +0000 (14:31 +0100)]
Cleanups and --lock-root-password and no default root password

12 years agoadd --custom-package option
Lars Wirzenius [Sat, 24 Dec 2011 11:30:14 +0000 (11:30 +0000)]
add --custom-package option

12 years agoadd --sudo option
Lars Wirzenius [Sat, 24 Dec 2011 10:08:54 +0000 (10:08 +0000)]
add --sudo option

12 years agoadd --serial-console option
Lars Wirzenius [Tue, 20 Dec 2011 16:22:43 +0000 (16:22 +0000)]
add --serial-console option

12 years agoadapt manpage into a template for cliapp --genereate-manpage
Lars Wirzenius [Tue, 20 Dec 2011 12:28:21 +0000 (12:28 +0000)]
adapt manpage into a template for cliapp --genereate-manpage

13 years agoFix i386 kernel selection. Thanks, Asheesh Laroia.
Lars Wirzenius [Tue, 5 Jul 2011 08:28:46 +0000 (11:28 +0300)]
Fix i386 kernel selection. Thanks, Asheesh Laroia.

13 years agoAdd --user option to allow creation of users easily.
Lars Wirzenius [Wed, 29 Jun 2011 15:42:05 +0000 (16:42 +0100)]
Add --user option to allow creation of users easily.

13 years agoAdd a rudimentary /etc/fstab.
Lars Wirzenius [Wed, 29 Jun 2011 15:29:08 +0000 (16:29 +0100)]
Add a rudimentary /etc/fstab.

13 years agoAdd hostname to /etc/hosts.
Lars Wirzenius [Wed, 29 Jun 2011 15:24:33 +0000 (16:24 +0100)]
Add hostname to /etc/hosts.

13 years agoAdd a newline to end of /etc/hostname.
Lars Wirzenius [Wed, 29 Jun 2011 15:20:15 +0000 (16:20 +0100)]
Add a newline to end of /etc/hostname.

13 years agoUse with to deal with an open file.
Lars Wirzenius [Wed, 29 Jun 2011 15:19:50 +0000 (16:19 +0100)]
Use with to deal with an open file.

13 years agoActually clean up if something bad happens while we do stuff.
Lars Wirzenius [Wed, 15 Jun 2011 14:39:57 +0000 (15:39 +0100)]
Actually clean up if something bad happens while we do stuff.

13 years agoUpdate README with dependencies.
Lars Wirzenius [Sun, 12 Jun 2011 11:17:45 +0000 (12:17 +0100)]
Update README with dependencies.

Prompted by Asheesh Laroia. Thanks!

13 years agoUse new cliapp API for adding settings.
Lars Wirzenius [Mon, 30 May 2011 09:14:29 +0000 (10:14 +0100)]
Use new cliapp API for adding settings.

13 years agoBack out from previous change, since it didn't actually work.
Lars Wirzenius [Sun, 15 May 2011 16:49:29 +0000 (17:49 +0100)]
Back out from previous change, since it didn't actually work.

13 years agoRun customize script with sh, so it can be in current directory.
Lars Wirzenius [Sun, 15 May 2011 16:44:45 +0000 (17:44 +0100)]
Run customize script with sh, so it can be in current directory.

13 years agoAdd --hostname option.
Lars Wirzenius [Sun, 15 May 2011 11:25:19 +0000 (12:25 +0100)]
Add --hostname option.

13 years agoAdd --customize script.
Lars Wirzenius [Sun, 15 May 2011 11:00:24 +0000 (12:00 +0100)]
Add --customize script.

13 years agoAdd --root-password option.
Lars Wirzenius [Sun, 15 May 2011 10:45:54 +0000 (11:45 +0100)]
Add --root-password option.

Default is now to lock the root password, rather than having no password.

13 years agoClarify manpage that without --enable-dhcp only localhost works.
Lars Wirzenius [Sun, 15 May 2011 10:31:54 +0000 (11:31 +0100)]
Clarify manpage that without --enable-dhcp only localhost works.

13 years agoAdd --enable-dhcp option.
Lars Wirzenius [Sun, 15 May 2011 10:30:20 +0000 (11:30 +0100)]
Add --enable-dhcp option.

13 years agoRemove persistent udev rules.
Lars Wirzenius [Sun, 15 May 2011 10:18:47 +0000 (11:18 +0100)]
Remove persistent udev rules.

When debootstrap installs udev, it picks up at least the net devices
from the host that is building the image. This is not useful, so we
remove the files. Upon booting the image, udev will re-create the
files, so that's all fine.

13 years agoMake kernel boot quietly.
Lars Wirzenius [Sun, 15 May 2011 09:56:01 +0000 (10:56 +0100)]
Make kernel boot quietly.

13 years agoLog stdout also on errors.
Lars Wirzenius [Sun, 15 May 2011 09:54:41 +0000 (10:54 +0100)]
Log stdout also on errors.

13 years agoAdd --package option.
Lars Wirzenius [Sun, 15 May 2011 09:53:44 +0000 (10:53 +0100)]
Add --package option.

13 years agoAdd some description of how to use the image to the manpage.
Lars Wirzenius [Fri, 13 May 2011 10:13:56 +0000 (11:13 +0100)]
Add some description of how to use the image to the manpage.

13 years agoAdd note about more info to README.
Lars Wirzenius [Fri, 13 May 2011 10:08:32 +0000 (11:08 +0100)]
Add note about more info to README.

13 years agoAdd manual page.
Lars Wirzenius [Fri, 13 May 2011 10:01:47 +0000 (11:01 +0100)]
Add manual page.

13 years agoAdd preliminary vmdebootstrap.
Lars Wirzenius [Fri, 13 May 2011 09:45:23 +0000 (10:45 +0100)]
Add preliminary vmdebootstrap.

13 years agoAdd a stub README.
Lars Wirzenius [Thu, 12 May 2011 20:02:51 +0000 (21:02 +0100)]
Add a stub README.