live-boot-grml.git
5 years agoRelease new version 1:20180603+grml.1 debian/1%20180603+grml.1
Michael Prokop [Thu, 13 Dec 2018 16:29:26 +0000 (17:29 +0100)]
Release new version 1:20180603+grml.1

5 years ago9990-grml-networking.sh: display Grml info, update interfaces comment + operate on...
Michael Prokop [Fri, 14 Dec 2018 14:27:11 +0000 (15:27 +0100)]
9990-grml-networking.sh: display Grml info, update interfaces comment + operate on all net devices

* By displaying "Preconfiguring Grml networking" it's more
  explicit that we're running the 9990-grml-networking.sh code

* It's not the 23networking live-initramfs hook since quite some time,
  update the comment for generation of /etc/network/interfaces

* Support also new style network device names by iterating over
  /sys/class/net/* and skipping only the loopback interface

5 years agoSupport debian_networking boot option to use Debian's network behavior
Michael Prokop [Thu, 13 Dec 2018 16:26:36 +0000 (17:26 +0100)]
Support debian_networking boot option to use Debian's network behavior

Debian's ip=... support diverges from kernel one and we (Grml) prefer
to use the behavior that's used by the kernel. By default we use our
Grml_Networking implementation from components/9990-grml-networking.sh,
but if the debian_networking boot option is used then we use Debian's
live-boot behavior with Netbase from components/9990-netbase.sh.
(Some minor details also diverge in the network handling, with
vlan support present in Grml, different nameserver handling,...)

5 years agoMinimize delta to Debian's upstream/master
Michael Prokop [Thu, 13 Dec 2018 15:14:39 +0000 (16:14 +0100)]
Minimize delta to Debian's upstream/master

Sync as much as possible with what Debian uses, to
make merging against upstream easy and be as close
to Debian's behavior as possible.

Changes synced from Debian upstream:

* xz compression is the default nowadays with gbp
* the FIXME file (debian/lib/live/boot/FIXME) no longer exists
* Recommends for eject + file aren't relevant within live-boot
* Don't re-implement initramfs-tools' log_failure_msg + log_warning_msg,
  use their common behavior instead
* Debian's ip=... handling supports setting nameserver via its 5th field
* Drop our ip=... handling with copying complete ip=args into STATICIP
  variable, this doesn't work as expected with the current code

Remaining changes where we diverge from Debian:

* custom bootid=... + ignore_bootid handling
* support nodhcphostname boot option
* support vlan=... boot option
* display Grml specific information on boot failures
* support /etc/grml_version
* custom network handling via Grml_Networking
* we don't support images directly on block devices
  in find_livefs(), since this might raise unexpected
  behavior in data rescue/forensic use cases

5 years agoMerge remote-tracking branch 'upstream/master'
Michael Prokop [Thu, 13 Dec 2018 14:58:31 +0000 (15:58 +0100)]
Merge remote-tracking branch 'upstream/master'

Sync with upstream (https://salsa.debian.org/live-team/live-boot/),
git commit 7130a2c0b.

5 years agoPrepare new release to unstable debian/1%20180603
Raphaël Hertzog [Sun, 3 Jun 2018 21:00:48 +0000 (23:00 +0200)]
Prepare new release to unstable

5 years agoDouble quote to prevent globbing and word splitting
Benjamin Drung [Wed, 25 Apr 2018 14:10:31 +0000 (16:10 +0200)]
Double quote to prevent globbing and word splitting

shellcheck complained about missing double quotes in
`components/9990-networking.sh`.

5 years agoFix resolving FQDN given by DHCP
Benjamin Drung [Tue, 24 Apr 2018 15:54:10 +0000 (17:54 +0200)]
Fix resolving FQDN given by DHCP

The DHCP can specify a host and domain name for the system. live-boot
fills `/etc/hostname` and `/etc/resolv.conf` with the data from the DHCP
server, but resolving the fully qualified domain name (FQDN) fails, when
the host is not specified in DNS:

```
(initramfs) hostname -f
hostname: example-host: Host name lookup failure
```

To make the FQDN resolvable without DNS, `libnss_files.so` needs to be
included in the initramfs, `/etc/nsswitch.conf` need to prefer `files`
over `dns`, and `/etc/hosts` needs to be filled with the data from the
DHCP server.

6 years agoRemove --paralle from dh to fix Lintian Warning.
Luca Boccassi [Thu, 29 Mar 2018 14:20:24 +0000 (15:20 +0100)]
Remove --paralle from dh to fix Lintian Warning.

debian-rules-uses-unnecessary-dh-argument - it's already the default.

6 years agoMark live-boot-doc as Multi-Arch: foreign
Luca Boccassi [Thu, 29 Mar 2018 14:19:22 +0000 (15:19 +0100)]
Mark live-boot-doc as Multi-Arch: foreign

It's arch: all, it does not depend on anything and it has only text
files.

6 years agoUpdate changelog for 1:20180328 release, upload to unstable debian/1%20180328
Luca Boccassi [Wed, 28 Mar 2018 19:07:45 +0000 (20:07 +0100)]
Update changelog for 1:20180328 release, upload to unstable

Remove some entries from the changelog that mention fix to
regressions introduced in the same version, as they are not useful
for end users.

6 years agoAdd myself to Uploaders.
Luca Boccassi [Wed, 28 Mar 2018 19:06:48 +0000 (20:06 +0100)]
Add myself to Uploaders.

6 years agoBump Standards-Version to 4.1.3, no changes.
Luca Boccassi [Wed, 28 Mar 2018 17:54:16 +0000 (18:54 +0100)]
Bump Standards-Version to 4.1.3, no changes.

6 years agoRemove dead link to live-systems.org from debian/copyright.
Luca Boccassi [Wed, 28 Mar 2018 17:49:31 +0000 (18:49 +0100)]
Remove dead link to live-systems.org from debian/copyright.

6 years agoUse HTTPS in debian/copyright (policy 4.0.0).
Luca Boccassi [Wed, 28 Mar 2018 17:49:08 +0000 (18:49 +0100)]
Use HTTPS in debian/copyright (policy 4.0.0).

6 years agoFix typos in recently added changelog and manpage changes
Luca Boccassi [Fri, 23 Mar 2018 17:39:15 +0000 (17:39 +0000)]
Fix typos in recently added changelog and manpage changes

Reported by Lintian.

Gbp-Dch: Ignore

6 years agoClarify FROMISO documentation in live-boot manpage
Luca Boccassi [Thu, 22 Mar 2018 21:50:42 +0000 (21:50 +0000)]
Clarify FROMISO documentation in live-boot manpage

6 years agofromiso: add support for local ISO (ONIE)
Erik Ziegenbalg [Fri, 16 Mar 2018 19:48:18 +0000 (19:48 +0000)]
fromiso: add support for local ISO (ONIE)

An ONIE system on boot will uncompress a local ISO image. Handle that
case in live-boot to support it.

6 years agoAdd backward compatibility rbind mount /lib/live/mount -> /run/live
Luca Boccassi [Fri, 16 Mar 2018 12:08:16 +0000 (12:08 +0000)]
Add backward compatibility rbind mount /lib/live/mount -> /run/live

The paths used in the current released versions of live-boot are a
form of public API, and existing applications and scripts might rely
on them. Do a recursive bind mount of the new path on the previous one
so that they do not break on upgrade (see #886328).

This backward-compatible mount point will be deprecated and removed
before the Bullseye (Debian 11) release. Users are recommended to start
migrating to the new /run/live path as soon as possible.

Gbp-Dch: Full

6 years agoSupport live-{top,premount,bottom} hooks
Benjamin Drung [Wed, 13 Dec 2017 17:40:37 +0000 (18:40 +0100)]
Support live-{top,premount,bottom} hooks

initramfs-tools support hooks for top, premount, bottom when booting
with boot=local or boot=nfs. Add similar support to live-boot when
booting with boot=live.

Closes: #884355
Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
6 years agoRemove sourcing /scripts/functions in components
Benjamin Drung [Thu, 15 Mar 2018 18:23:18 +0000 (19:23 +0100)]
Remove sourcing /scripts/functions in components

The components 9990-fstab.sh and 9990-netbase.sh source
/scripts/functions. This overrides the mount_* functions (to no-ops)
which will break supporting live-{top,premount,bottom} hooks. Therefore
remove those problematic includes which do not seem to be necessary
nowadays. See Debian bug #884355 for the discussion.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
6 years agoFix overlay mount after switch to /run/live
Benjamin Drung [Mon, 26 Feb 2018 14:14:26 +0000 (15:14 +0100)]
Fix overlay mount after switch to /run/live

The commit 0d878d3a679820d570a20c0fa1c1a2c5b92ad037 applied the patch
from Debian bug #886328 incompletely and misses one instance for
mounting the overlay directory.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
6 years agoFix fromiso after switch to /run/live
Luca Boccassi [Tue, 13 Mar 2018 21:37:55 +0000 (21:37 +0000)]
Fix fromiso after switch to /run/live

/live/fromiso was still used, switch to /run/live/fromiso to follow
changes from 0d878d3a6798 (see #886328).

6 years agoFix custom mounts after switch to /run/live
Luca Boccassi [Tue, 13 Mar 2018 18:09:31 +0000 (18:09 +0000)]
Fix custom mounts after switch to /run/live

9990-misc-helpers.sh was still looping over /live/rootfs/* rather
than /run/live/rootfs/*, breaking custom mount points.
Also /live/persistence was used to store debug file instead of
/run/live/persistence in the same function.
Update them to follow changes from 0d878d3a6798 (see #886328).

6 years agoRemove workaround for ipconfig issues
Charles (Chas) Williams [Mon, 12 Mar 2018 22:44:01 +0000 (18:44 -0400)]
Remove workaround for ipconfig issues

If a system has more than a few interfaces, the enforced delay for
each interface can lead to excruciatingly long boot times.  Even with
one interface, there is always a 15s penalty.  The appropriate fix for
issues with ipconfig (and/or klibc) isn't here.

6 years agoUpdate changelog
Raphaël Hertzog [Tue, 13 Mar 2018 09:53:09 +0000 (10:53 +0100)]
Update changelog

6 years agoUse true|false instead of y|n for environment variables
Luca Boccassi [Mon, 12 Mar 2018 22:10:40 +0000 (22:10 +0000)]
Use true|false instead of y|n for environment variables

Commit 97c0e08bd0f00264eb3c2c5896a28e25a89d9f6f changed from yes|no to
true|false. Maintain this consistency and change newly added
environment variables.

6 years agoAdd back persistance fsck option
Chas Williams [Mon, 12 Mar 2018 15:51:22 +0000 (15:51 +0000)]
Add back persistance fsck option

Commit bc79205b554396acd1a20538df2e189eb304ec9e removed the fsck
option due to lack of usage. But it can be useful and we have had
customer escalations due to corrupted persistent filesystem, which
are solved by being able to configure this option.

Mailing list thread:
 https://lists.debian.org/debian-live/2015/08/msg00107.html

6 years agoFix ifconfig parsing
Sameer Agrawal [Mon, 12 Mar 2018 18:57:12 +0000 (18:57 +0000)]
Fix ifconfig parsing

ifconfig from net-tools does not output "inet.*addr:" pattern anymore.
Match IP addresses instead. But ifconfig from busybox does, so try
and match either patterns.

$ /sbin/ifconfig wlp2s0 | grep 'inet.*addr:'
$ /sbin/ifconfig eth0 | grep -E 'inet.*addr:|inet [0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*'
        inet 192.168.1.91  netmask 255.255.255.0  broadcast 192.168.1.255
$ busybox ifconfig eth0 | grep -E 'inet.*addr:|inet [0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*'
          inet addr:192.168.1.91  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fd00::1:60ad:2691:4cc6:f32/64 Scope:Global
          inet6 addr: fe80::96de:80ff:feae:b976/64 Scope:Link
          inet6 addr: fd00::1:96de:80ff:feae:b976/64 Scope:Global
          inet6 addr: 2a00:23c5:be85:1400:96de:80ff:feae:b976/64 Scope:Global
          inet6 addr: 2a00:23c5:be85:1400:60ad:2691:4cc6:f32/64 Scope:Global

Closes: #892772

6 years agoUpdate DNSFILE even if DNSFILE contains only commented or empty lines
raizo62 [Tue, 6 Mar 2018 19:20:29 +0000 (20:20 +0100)]
Update DNSFILE even if DNSFILE contains only commented or empty lines

6 years agoUse low urgency as we really want a longer test period
Raphaël Hertzog [Sat, 24 Feb 2018 17:02:38 +0000 (18:02 +0100)]
Use low urgency as we really want a longer test period

Gbp-Dch: Ignore

6 years agoUpdate changelog
Raphaël Hertzog [Sat, 24 Feb 2018 16:59:55 +0000 (17:59 +0100)]
Update changelog

6 years agoStrip comments from checksums files passed to "shaXsum -c"
Raphaël Hertzog [Sat, 24 Feb 2018 16:19:37 +0000 (17:19 +0100)]
Strip comments from checksums files passed to "shaXsum -c"

As reported in #796474, the busybox implementation of the various
shaXsum command fails when it encounters comment lines that it
can't parse. This fixes the 'verify-checksums' boot parameter.

Thanks: Andreas Heinlein for the report
Closes: #856482

6 years agoUpdate changelog for 1:20171121 release
Raphaël Hertzog [Fri, 23 Feb 2018 18:21:00 +0000 (19:21 +0100)]
Update changelog for 1:20171121 release

6 years agoUse klibc's mount again for fuse mounts
Daniel Reichelt [Sun, 16 Jul 2017 15:15:46 +0000 (17:15 +0200)]
Use klibc's mount again for fuse mounts

When building a stretch live image which includes httpfs/buster for the
created live-image's initramfs to support live-boot's httpfs switch, the
boot process fails in a way similar to what has been reported in #823856.

Special handling for ${FUSE_MOUNT}s (httpfs, curlftps) was added to use
util-linux's mount instead of the klibc's in such cases. I tested the
use of a FUSE-based rootfs in conjunction with klibc's mount, and it
seems, nowadays the both of them work together.

So, the conditional incorporation and replacement of the mount command
is both no longer necessary, and has become harmful.

Closes: #868559

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.

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

7 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.

7 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".

7 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

7 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

7 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