live-boot-grml.git
6 years agoAdd configuration variables to build a stripped down initrd
Benjamin Drung [Thu, 4 Jan 2018 14:05:37 +0000 (15:05 +0100)]
Add configuration variables to build a stripped down initrd

Add several environment variables to strip down the initrd size (for
minimal systems that do not need all features). This allows me to reduce
the initrd size from 8.5 MiB to 8.0 MiB when also using busybox's
mount (see Debian bug #868559) and wget (see Debian bug #885455).

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
Closes: #886337

6 years agoSimplify mount point handling by using /run/live instead of /lib/live/mount
Benjamin Drung [Thu, 4 Jan 2018 10:02:32 +0000 (11:02 +0100)]
Simplify mount point handling by using /run/live instead of /lib/live/mount

Currently live-boot mounts following things:

  /lib/live/mount/medium: the live media mounted read-only
  /lib/live/mount/rootfs/filesystem.{squashfs,ext*,...}: the root fs image
  /lib/live/mount/overlay: the copy-on-write content from aufs
  /lib/live/mount/findiso: the loop-mounted iso image when using findiso
  /lib/live/mount/persistence/*: persistent devices with copy-on-write overlay

Some of these mounts are mounted in /live before they are moved to their
correct place. Since the final root filesystem is mounted in /root and
run-init switches to it, special care needs to be taken when moving the
mount points around.

/lib/live/mount/overlay is not accessible any more in the live system:

$ df -h
/dev/loop0 169M  169M     0 100% /lib/live/mount/rootfs/root.squashfs
tmpfs      744M     0  744M   0% /lib/live/mount/overlay
overlay    1,5G 1001M  536M  66% /

The early initramfs stage mounts tmpfs on /run which doesn't need to be
moved once the final root filesystem is in place. The mount points do
not need much space and can live on /run/live without problems. Since
these mount points are run-time variable data, they fit perfectly for
/run and comply with FHS 3.0.

Therefore move /lib/live/mount to /run/live and skip the intermedia
/live mount points. This reduces code and complexity.

See also for the previous larger layout change:
https://lists.debian.org/debian-live/2012/10/msg00021.html

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
Closes: #886328

6 years agoSupport setting upperdir tmpfs size with overlay-size boot parameter
Benjamin Drung [Fri, 22 Dec 2017 11:34:20 +0000 (12:34 +0100)]
Support setting upperdir tmpfs size with overlay-size boot parameter

Resizing the upperdir tmpfs mount will not affect mounted overlays.
The tmpfs size must be configured when mounting it. Therefore add an
overlay-size configuration option.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
Closes: #885466

6 years agoAvoid double slashes in some paths
Benjamin Drung [Fri, 22 Dec 2017 18:03:58 +0000 (19:03 +0100)]
Avoid double slashes in some paths

Closes: #885453

6 years agoDon't replace busybox's wget by the true wget
Benjamin Drung [Tue, 19 Dec 2017 15:06:58 +0000 (16:06 +0100)]
Don't replace busybox's wget by the true wget

It was likely done for https support but since buster the busybox
provided wget has https support too. We save a lot of space by
doing so (8 Mb).

Gbp-Dch: Full
Closes: #885455

6 years agoRepo moved to salsa
Steve McIntyre [Fri, 9 Feb 2018 23:19:47 +0000 (23:19 +0000)]
Repo moved to salsa

6 years agoAdd a small warning in the long description
Raphaël Hertzog [Thu, 21 Dec 2017 13:38:48 +0000 (14:38 +0100)]
Add a small warning in the long description

The package must not be installed on a regular system, but only in a
live image.

Closes: #884886

6 years agoFix read-only persistence mode with overlayfs
Ronny Standtke [Tue, 21 Nov 2017 14:27:09 +0000 (15:27 +0100)]
Fix read-only persistence mode with overlayfs

Thanks to Ronny Standtke <ronny.standtke@fhnw.ch> for the patch.

Closes: #877776

6 years agoFix spelling errors in live-boot(7). debian/1%20170623
Raphaël Hertzog [Fri, 23 Jun 2017 12:58:09 +0000 (14:58 +0200)]
Fix spelling errors in live-boot(7).

6 years agoBump Standards-Version to 4.0.0.
Raphaël Hertzog [Fri, 23 Jun 2017 12:53:06 +0000 (14:53 +0200)]
Bump Standards-Version to 4.0.0.

6 years agoBump debhelper compat to 10.
Raphaël Hertzog [Fri, 23 Jun 2017 12:52:42 +0000 (14:52 +0200)]
Bump debhelper compat to 10.

6 years agoAdd myself to Uploaders.
Raphaël Hertzog [Fri, 23 Jun 2017 12:52:18 +0000 (14:52 +0200)]
Add myself to Uploaders.

6 years agoPrepare for release
Raphaël Hertzog [Fri, 23 Jun 2017 12:41:17 +0000 (14:41 +0200)]
Prepare for release

6 years agoTake into account the fact that udevadm is now in /bin and no longer in /sbin
Raphaël Hertzog [Fri, 23 Jun 2017 12:26:25 +0000 (14:26 +0200)]
Take into account the fact that udevadm is now in /bin and no longer in /sbin

Closes: #852570

6 years agoDo not duplicate files in /lib/live/boot/ and /bin/boot/ in the initrd
Raphaël Hertzog [Thu, 15 Jun 2017 12:55:50 +0000 (14:55 +0200)]
Do not duplicate files in /lib/live/boot/ and /bin/boot/ in the initrd

Thanks to Daniel Reichelt <debian@nachtgeist.net> for the patch.

Closes: #864385

7 years agoRelease new version 1:20170112+grml.1 debian/1%20170112+grml.1
Michael Prokop [Sun, 26 Mar 2017 08:22:20 +0000 (10:22 +0200)]
Release new version 1:20170112+grml.1

Re-release Debian's 1:20170112 for Grml for clarity.

7 years agoMerge remote-tracking branch 'upstream/master'
Michael Büchler [Mon, 20 Mar 2017 19:51:45 +0000 (20:51 +0100)]
Merge remote-tracking branch 'upstream/master'

git://anonscm.debian.org/debian-live/live-boot.git

 Conflicts:
backend/initramfs-tools/live.hook
components/9990-cmdline-old
debian/changelog
debian/control

7 years agoOnly copy /etc/live/boot if it exists debian/1%20170112
Raphaël Hertzog [Thu, 12 Jan 2017 17:39:31 +0000 (18:39 +0100)]
Only copy /etc/live/boot if it exists

Even though /etc/live/boot is created in the postinst, that directory
is not guaranteed to exist when the initramfs is generated. It might be
generated when the kernel is configured before live-boot has been
configured.

7 years agoPrepare release to unstable
Raphaël Hertzog [Thu, 12 Jan 2017 15:59:55 +0000 (16:59 +0100)]
Prepare release to unstable

7 years agoMultiple cleanups to appease lintian.
Raphaël Hertzog [Thu, 12 Jan 2017 15:57:43 +0000 (16:57 +0100)]
Multiple cleanups to appease lintian.

7 years agoImprove removable_dev() in 9990-misc-helpers.sh when /sys/block/ is empty
Raphaël Hertzog [Thu, 12 Jan 2017 15:31:05 +0000 (16:31 +0100)]
Improve removable_dev() in 9990-misc-helpers.sh when /sys/block/ is empty

Closes: #847802

7 years agofix nodhcp option to actually force DHCP off
Evgeni Golov [Tue, 15 Dec 2015 07:21:26 +0000 (08:21 +0100)]
fix nodhcp option to actually force DHCP off

patch based on the one in Grml and the input of Frank Lillo

Thanks: Frank Lillo <frank.lillo@gecoinc.com>
Closes: #785345

7 years agoAdd missing changelog entries
Raphaël Hertzog [Thu, 12 Jan 2017 14:58:12 +0000 (15:58 +0100)]
Add missing changelog entries

7 years agoFix typo in nls_ascii module (nls_asci -> nls_ascii)
Raphaël Hertzog [Thu, 12 Jan 2017 14:39:46 +0000 (15:39 +0100)]
Fix typo in nls_ascii module (nls_asci -> nls_ascii)

Mistake introduced in c409a25547af9661360a233a3cb34a65f8d1f122.

7 years agoAdd FAT ascii iocharset support
Kristian Klausen [Mon, 26 Sep 2016 16:20:14 +0000 (18:20 +0200)]
Add FAT ascii iocharset support

FAT use ascii as default iocharset starting from 4.7.2-1, so we need
the nls_ascii kernel module else the kernel can't mount the partition
and mount the squashfs.
https://packages.qa.debian.org/l/linux/news/20160829T000024Z.html

7 years agoCheck /etc/live/boot.conf exist before trying copy
Kristian Klausen [Tue, 5 Jul 2016 19:39:54 +0000 (21:39 +0200)]
Check /etc/live/boot.conf exist before trying copy

Last commit (b98d289f42) wasn't tested properly.
If /etc/live/boot.conf didn't existed initramfs generating would fail,
now we test if it exist. We don't need to test if /etc/live/boot exist,
as it is created by live-boot.postinst.

7 years agoRelease new version 1:20160511+grml.1 debian/1%20160511+grml.1
Michael Prokop [Tue, 5 Jul 2016 17:36:29 +0000 (19:36 +0200)]
Release new version 1:20160511+grml.1

7 years agoRevert "Copy /etc/live/boot{,.conf} to initramfs"
Michael Prokop [Tue, 5 Jul 2016 17:33:57 +0000 (19:33 +0200)]
Revert "Copy /etc/live/boot{,.conf} to initramfs"

This reverts commit b98d289f42df126760c84957f69e5fdc7807d159.

This breaks if the files don't exist:

| update-initramfs: Generating /boot/initrd.img-4.1.0-1-grml-amd64
| cp: cannot stat '/etc/live/boot.conf': No such file or directory
| cp: cannot stat '/etc/live/boot': No such file or directory

7 years agoBump Standards-Version to 3.9.8
Michael Prokop [Tue, 5 Jul 2016 17:24:55 +0000 (19:24 +0200)]
Bump Standards-Version to 3.9.8

7 years agoAdjust permissions of backend/initramfs-tools/kms.hook
Michael Prokop [Tue, 5 Jul 2016 17:21:22 +0000 (19:21 +0200)]
Adjust permissions of backend/initramfs-tools/kms.hook

lintian is complaining (and is possibly right about it)

7 years agoDrop dpkg trigger for update-initramfs
Michael Prokop [Fri, 1 Jul 2016 07:37:52 +0000 (09:37 +0200)]
Drop dpkg trigger for update-initramfs

Following upstream:

| commit b77506cb1f7c478c44886b3795e6bcc992566763
| Author: Daniel Baumann <daniel@debian.org>
| Date:   Mon Jun 25 22:47:23 2012 +0200
|
|     Removing pre-wheezy dpkg trigger for update-initramfs.

diff --git a/debian/live-boot-initramfs-tools.triggers b/debian/live-boot-initramfs-tools.triggers
deleted file mode 100644
index 6c9f454..0000000
--- a/debian/live-boot-initramfs-tools.triggers
+++ /dev/null
@@ -1 +0,0 @@
-activate update-initramfs

7 years agodebian/rules: drop dpatch workaround which is no longer needed
Michael Prokop [Fri, 1 Jul 2016 07:35:34 +0000 (09:35 +0200)]
debian/rules: drop dpatch workaround which is no longer needed

7 years agodebian/rules: drop deprecated build target
Michael Prokop [Fri, 1 Jul 2016 07:32:29 +0000 (09:32 +0200)]
debian/rules: drop deprecated build target

7 years agoDrop deprecated live-boot-grml init script
Michael Prokop [Fri, 1 Jul 2016 07:32:15 +0000 (09:32 +0200)]
Drop deprecated live-boot-grml init script

7 years agoMerge remote-tracking branch 'upstream/master' mika/debian
Michael Prokop [Tue, 28 Jun 2016 08:42:17 +0000 (10:42 +0200)]
Merge remote-tracking branch 'upstream/master'

git://anonscm.debian.org/debian-live/live-boot.git

Conflicts:
backend/initramfs-tools/live.hook
components/0020-read-only
components/9990-aaa-fixme.sh
components/9990-cmdline-old
debian/changelog

7 years agoCopy /etc/live/boot{,.conf} to initramfs
Kristian Klausen [Tue, 21 Jun 2016 20:41:28 +0000 (22:41 +0200)]
Copy /etc/live/boot{,.conf} to initramfs

So now /etc/live/boot{,.conf} works.

8 years agoPrepare for release debian/1%20160511
Raphaël Hertzog [Wed, 11 May 2016 13:44:12 +0000 (15:44 +0200)]
Prepare for release

8 years agoDrop debian/source/*options and dh_builddeb override
Raphaël Hertzog [Wed, 11 May 2016 13:09:04 +0000 (15:09 +0200)]
Drop debian/source/*options and dh_builddeb override

* Drop debian/source/local-options as the only option it contained was
  not applicable to 3.0 (native) source format.
* Drop debian/source/options and dh_builddeb override as XZ compression is
  the default now.

8 years agoSome fixups to ensure we work with busybox/klibc-utils
Raphaël Hertzog [Wed, 11 May 2016 13:01:52 +0000 (15:01 +0200)]
Some fixups to ensure we work with busybox/klibc-utils

Now that the PATH is sane again, no need to hardcode the path of many
tools.

Also it means that we use busybox/klibc-utils's mount and we should thus
aim to use a syntax that work with both of them. We thus use "mount -o
move" instead of "mount --move", and "mount -o bind" instead of "mount
--bind".

8 years agoNo longer modify PATH to point to /root
Raphaël Hertzog [Wed, 11 May 2016 10:50:28 +0000 (12:50 +0200)]
No longer modify PATH to point to /root

Thus stop using executables from /root.

Closes: #823069

8 years agoFix typo in variable name
Raphaël Hertzog [Wed, 11 May 2016 09:42:33 +0000 (11:42 +0200)]
Fix typo in variable name

8 years agoUpdate build system to rely on "dpkg-parsechangelog -S Version" instead of outdated...
Raphaël Hertzog [Wed, 11 May 2016 09:41:36 +0000 (11:41 +0200)]
Update build system to rely on "dpkg-parsechangelog -S Version" instead of outdated VERSION file.

8 years agoupdate manpages with default overlay filesystem
Evgeni Golov [Fri, 26 Jun 2015 12:30:36 +0000 (14:30 +0200)]
update manpages with default overlay filesystem

the default changed in 72211f19

8 years agofinalize changelog for upload debian/1%20151213+grml.1
Evgeni Golov [Thu, 7 Jan 2016 07:48:16 +0000 (08:48 +0100)]
finalize changelog for upload

8 years agoRevert "use auto instead of allow-hotplug in generated /e/n/interfaces"
Evgeni Golov [Wed, 6 Jan 2016 17:15:08 +0000 (18:15 +0100)]
Revert "use auto instead of allow-hotplug in generated /e/n/interfaces"

This reverts commit 214cc032c4713bfaaecb2fb3b4377589684c90ab.

8 years agomake package native as in Debian
Evgeni Golov [Wed, 6 Jan 2016 17:11:02 +0000 (18:11 +0100)]
make package native as in Debian

8 years agoupdate changelog
Evgeni Golov [Wed, 6 Jan 2016 17:08:21 +0000 (18:08 +0100)]
update changelog

8 years agofix changelog after merge
Evgeni Golov [Wed, 6 Jan 2016 17:07:02 +0000 (18:07 +0100)]
fix changelog after merge

8 years agoremove debian/patches
Evgeni Golov [Wed, 6 Jan 2016 17:06:15 +0000 (18:06 +0100)]
remove debian/patches

8 years agoAllow selecting boot eth dev by MAC address
Riccardo Murri [Fri, 19 Jun 2015 15:50:52 +0000 (17:50 +0200)]
Allow selecting boot eth dev by MAC address

8 years agoMerge branch 'debian'
Evgeni Golov [Wed, 6 Jan 2016 17:04:48 +0000 (18:04 +0100)]
Merge branch 'debian'

8 years agoMerge tag 'debian/1%20151213' into debian
Evgeni Golov [Wed, 6 Jan 2016 17:02:05 +0000 (18:02 +0100)]
Merge tag 'debian/1%20151213' into debian

Debian 1:20151213 release

8 years agofix detection of (no)persistence option in read-only mode
Evgeni Golov [Fri, 1 Jan 2016 14:48:06 +0000 (15:48 +0100)]
fix detection of (no)persistence option in read-only mode

thanks intrigeri for finding the bug and mika for suggesting a fix

8 years agodefault the host in fetch urls to be ROOTSERVER if it is blank
Russell Stuart [Sat, 26 Dec 2015 09:01:45 +0000 (10:01 +0100)]
default the host in fetch urls to be ROOTSERVER if it is blank

Reason: this would mean I don't have to customise live.cfg for each
server I deploy it on (because the tftp server also serves the root
image).

So:

     append fetch=tftp:///path/file.ext

doesn't work now, but after the patch this would be
assumed since the host is blank:

     append fetch=tftp://${ROOTSERVER}/path/file.ext

Closes: #800498

8 years agoMerge remote-tracking branch 'grml'
Evgeni Golov [Sun, 20 Dec 2015 19:07:07 +0000 (20:07 +0100)]
Merge remote-tracking branch 'grml'

8 years agoEnable multiple lower layers for overlayfs
Wolfgang Scheicher [Sun, 20 Dec 2015 01:10:58 +0000 (02:10 +0100)]
Enable multiple lower layers for overlayfs

8 years agoUpdate changelog for release debian/1%20151213
Iain R. Learmonth [Sun, 13 Dec 2015 15:59:03 +0000 (15:59 +0000)]
Update changelog for release

8 years agoAdded myself to uploaders, updated Vcs-* and homepage
Iain R. Learmonth [Sun, 13 Dec 2015 15:57:20 +0000 (15:57 +0000)]
Added myself to uploaders, updated Vcs-* and homepage

8 years agoSwitch to native source format
Iain R. Learmonth [Sun, 13 Dec 2015 15:54:04 +0000 (15:54 +0000)]
Switch to native source format

8 years agoUsing 'Live Systems Project' as default project in .pot files.
Carlos Zuferri [Thu, 24 Sep 2015 18:13:46 +0000 (20:13 +0200)]
Using 'Live Systems Project' as default project in .pot files.

8 years agoAdding French translation for live-boot manpage and prep for persistence.conf.
trebmuh [Mon, 21 Sep 2015 14:58:36 +0000 (16:58 +0200)]
Adding French translation for live-boot manpage and prep for persistence.conf.

8 years agostart changelog for 5.0 a5
Evgeni Golov [Mon, 24 Aug 2015 19:06:02 +0000 (21:06 +0200)]
start changelog for 5.0 a5

8 years agouse pristine-tar by default
Evgeni Golov [Mon, 24 Aug 2015 19:01:47 +0000 (21:01 +0200)]
use pristine-tar by default

8 years agoRevert "restore support for old persistence media"
Evgeni Golov [Mon, 24 Aug 2015 17:52:54 +0000 (19:52 +0200)]
Revert "restore support for old persistence media"

This reverts commit 14f658f90367f29d20e4fed7ad3a228994057e58.

We do not want to support this old stuff anymore.

8 years agofix "unexpected operator" error when stopping live-boot
Evgeni Golov [Sun, 23 Aug 2015 09:43:46 +0000 (11:43 +0200)]
fix "unexpected operator" error when stopping live-boot

Closes: LP#1315572

8 years agoadd gbp.conf
Evgeni Golov [Sun, 23 Aug 2015 09:41:36 +0000 (11:41 +0200)]
add gbp.conf

8 years agoMerge branch 'debian'
Evgeni Golov [Sun, 23 Aug 2015 09:33:25 +0000 (11:33 +0200)]
Merge branch 'debian'

8 years agoMerge tag 'debian/5.0_a5-1' into debian
Evgeni Golov [Sun, 23 Aug 2015 09:29:50 +0000 (11:29 +0200)]
Merge tag 'debian/5.0_a5-1' into debian

Tagging debian version 5.0~a5-1.

8 years agoReleasing debian version 5.0~a5-1. debian/5.0_a5-1
Daniel Baumann [Sun, 23 Aug 2015 08:55:46 +0000 (10:55 +0200)]
Releasing debian version 5.0~a5-1.

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
8 years agoSupport dns bootoption. evgeni/tmp-grml
Michael Prokop [Fri, 26 Jun 2015 12:53:43 +0000 (14:53 +0200)]
Support dns bootoption.

Usage examples: dns=8.8.8.8 / dns=8.8.8.8,1.2.3.4

8 years agoignore "unknown" filesystems in is_supported_fs()
Michael Prokop [Fri, 26 Jun 2015 13:01:33 +0000 (15:01 +0200)]
ignore "unknown" filesystems in is_supported_fs()

8 years agoEnable write-mode for persistency related devices in readonly/forensic mode
Michael Prokop [Fri, 26 Jun 2015 13:02:16 +0000 (15:02 +0200)]
Enable write-mode for persistency related devices in readonly/forensic mode

8 years agoRevert toram bootoption to expected behaviour.
Michael Prokop [Fri, 26 Jun 2015 12:52:05 +0000 (14:52 +0200)]
Revert toram bootoption to expected behaviour.

In commit 36bb11382c81d5bce4b69f6d3d618dfd1c38dffb
of live-initramfs-grml (when merging Debian's version 1.157.4-1)
the behaviour of toram bootoption was modified, see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534878

On Grml we want to have the option to load the whole medium
into RAM to e.g. have additional directories like /deb,
/scripts or whatever. This is possible using the toram bootoption
without any additional arguments.

If you do NOT want to load the whole medium to RAM just
boot using toram=grml.squashfs (or whatever it's named,
there's a ready-to-use bootoption in Grml's bootsplash
menu available) instead.

Ammusingly the requested behaviour is available in Debian's
live-boot if rsync is not available, so this patch
actually just unifies the code paths and reverts the
behaviour change back to what the log message says.

8 years agoTry loading phram module twice to fix loading issue.
Michael Prokop [Fri, 26 Jun 2015 13:00:32 +0000 (15:00 +0200)]
Try loading phram module twice to fix loading issue.

phram doesn't work on first modprobe, when loading once again itseems
to work. So let's try it this way.

8 years agomake copying libnss_dns.so.* unconditionally
Evgeni Golov [Fri, 21 Aug 2015 11:22:37 +0000 (13:22 +0200)]
make copying libnss_dns.so.* unconditionally

8 years agoAdd kms modules to initramfs
Ulrich Dangel [Fri, 26 Jun 2015 12:59:36 +0000 (14:59 +0200)]
Add kms modules to initramfs

8 years agoallow the use of multiple initramfs hooks and scripts again
Evgeni Golov [Fri, 26 Jun 2015 13:03:39 +0000 (15:03 +0200)]
allow the use of multiple initramfs hooks and scripts again

8 years agoSupport predictable network interface names.
Steven Shiau [Wed, 19 Aug 2015 15:15:56 +0000 (17:15 +0200)]
Support predictable network interface names.

8 years agoWrap and sort debian control file.
Daniel Baumann [Fri, 14 Aug 2015 12:08:39 +0000 (14:08 +0200)]
Wrap and sort debian control file.

8 years agoAdjusting whitespace to tabs on components/9990-mount-http.sh
Richard Nelson [Tue, 23 Jun 2015 20:47:43 +0000 (15:47 -0500)]
Adjusting whitespace to tabs on components/9990-mount-http.sh

8 years agoAdjusting whitespace to tabs on components/9990-misc-helpers.sh
Richard Nelson [Tue, 23 Jun 2015 20:46:13 +0000 (15:46 -0500)]
Adjusting whitespace to tabs on components/9990-misc-helpers.sh

8 years agoAdjusting whitespace to tabs on components/9990-overlay.sh
Richard Nelson [Tue, 23 Jun 2015 20:43:00 +0000 (15:43 -0500)]
Adjusting whitespace to tabs on components/9990-overlay.sh

8 years agoupload 5.0~a4-1+grml.1 to unstable debian/5.0_a4-1+grml.1
Evgeni Golov [Tue, 18 Aug 2015 12:16:40 +0000 (14:16 +0200)]
upload 5.0~a4-1+grml.1 to unstable

8 years agostart changelog for 5.0~a4-1+grml.1
Evgeni Golov [Tue, 18 Aug 2015 11:04:52 +0000 (13:04 +0200)]
start changelog for 5.0~a4-1+grml.1

8 years agobackport Allow-selecting-boot-eth-dev-by-MAC-address.patch from upstream
Evgeni Golov [Tue, 18 Aug 2015 10:56:17 +0000 (12:56 +0200)]
backport Allow-selecting-boot-eth-dev-by-MAC-address.patch from upstream

8 years agoAllow +2 nameserver entries for dns= boot option
Laurens Vanderhoven [Sun, 16 Aug 2015 23:34:16 +0000 (01:34 +0200)]
Allow +2 nameserver entries for dns= boot option

Closes: issue1234

8 years agouse auto instead of allow-hotplug in generated /e/n/interfaces
Evgeni Golov [Sun, 16 Aug 2015 22:54:09 +0000 (00:54 +0200)]
use auto instead of allow-hotplug in generated /e/n/interfaces

Closes: issue1568

8 years agocreate a single debian patch :/
Evgeni Golov [Sun, 16 Aug 2015 22:53:40 +0000 (00:53 +0200)]
create a single debian patch :/

8 years agodrop patches, we have everything in git now
Evgeni Golov [Fri, 26 Jun 2015 13:07:06 +0000 (15:07 +0200)]
drop patches, we have everything in git now

8 years agorestore support for old persistence media
Evgeni Golov [Fri, 26 Jun 2015 13:06:37 +0000 (15:06 +0200)]
restore support for old persistence media

8 years agoDrop nameserver handling from ip= boot parameter.
Michael Prokop [Fri, 26 Jun 2015 13:05:54 +0000 (15:05 +0200)]
Drop nameserver handling from ip= boot parameter.

In commit ab6364da036b4b09c0e5c92b0e21c4d43e4bd4c2
("Adding support for nameserver in ip= boot parameter.")
Debian's live-boot added support for handling nameserver
option inside the ip= boot parameter.

This violates the ip= handling as documented in
https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt

8 years agoVLAN support via boot option "vlan=<vid>:<phydevice>"
Michael Prokop [Fri, 26 Jun 2015 13:04:58 +0000 (15:04 +0200)]
VLAN support via boot option "vlan=<vid>:<phydevice>"

This provides support for something like:

  ip=10.10.10.42::10.10.10.1:255.255.255.0:grml:eth0:off vlan=301:eth0

to use VID 301 for device eth0.

The implementation tries to be close to what dracut provides with
its vlan boot option implementation, see
http://thread.gmane.org/gmane.linux.kernel.initramfs/2685
Though we aren't 100% identical because we only use <vid>
(e.g.: 3) instead of dract's <vlanname> (e.g.: VLAN_PLUS_VID
(vlan0003), VLAN_PLUS_VID_NO_PAD (vlan3), DEV_PLUS_VID (eth0.0003),
DEV_PLUS_VID_NO_PAD (eth0.3)) options but that might be an option
once we can bring vlan support into initramfs-tools itself.

The vlan-raw-device configuration option in
/etc/network/interfaces isn't really needed technically, but we
want to make the presence and usage of VLANs more obvious for
its users.

Development sponsored by Sipwise Gmbh

8 years agoallow the use of multiple initramfs hooks and scripts again
Evgeni Golov [Fri, 26 Jun 2015 13:03:39 +0000 (15:03 +0200)]
allow the use of multiple initramfs hooks and scripts again

8 years agoEnable write-mode for persistency related devices in readonly/forensic mode
Michael Prokop [Fri, 26 Jun 2015 13:02:16 +0000 (15:02 +0200)]
Enable write-mode for persistency related devices in readonly/forensic mode

8 years agoNew patch to ignore "unknown" filesystems in is_supported_fs()
Michael Prokop [Fri, 26 Jun 2015 13:01:33 +0000 (15:01 +0200)]
New patch to ignore "unknown" filesystems in is_supported_fs()

8 years agoTry loading phram module twice to fix loading issue.
Michael Prokop [Fri, 26 Jun 2015 13:00:32 +0000 (15:00 +0200)]
Try loading phram module twice to fix loading issue.

phram doesn't work on first modprobe, when loading once again itseems
to work. So let's try it this way.

8 years agoAdd kms modules to initramfs
Ulrich Dangel [Fri, 26 Jun 2015 12:59:36 +0000 (14:59 +0200)]
Add kms modules to initramfs

8 years agosupport DNS in boot environment
Christian Hofstaedtler [Fri, 26 Jun 2015 12:57:59 +0000 (14:57 +0200)]
support DNS in boot environment

Thanks to Ulrich Dangel for discovering this. [Closes: issue848]

8 years agoSupport static ip configuration
Ulrich Dangel [Fri, 26 Jun 2015 12:56:40 +0000 (14:56 +0200)]
Support static ip configuration

8 years agoSupport dns bootoption.
Michael Prokop [Fri, 26 Jun 2015 12:53:43 +0000 (14:53 +0200)]
Support dns bootoption.

Usage examples: dns=8.8.8.8 / dns=8.8.8.8,1.2.3.4