1. 01 Oct, 2018 1 commit
  2. 03 Jun, 2018 1 commit
  3. 30 Apr, 2018 2 commits
    • Benjamin Drung's avatar
      Double quote to prevent globbing and word splitting · 1eda797f
      Benjamin Drung authored
      shellcheck complained about missing double quotes in
    • Benjamin Drung's avatar
      Fix resolving FQDN given by DHCP · 43b5c8a4
      Benjamin Drung authored
      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.
  4. 29 Mar, 2018 2 commits
  5. 28 Mar, 2018 5 commits
  6. 23 Mar, 2018 1 commit
  7. 22 Mar, 2018 2 commits
  8. 16 Mar, 2018 1 commit
    • Luca Boccassi's avatar
      Add backward compatibility rbind mount /lib/live/mount -> /run/live · c6a17c7b
      Luca Boccassi authored
      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
  9. 15 Mar, 2018 3 commits
  10. 13 Mar, 2018 4 commits
  11. 12 Mar, 2018 3 commits
    • Luca Boccassi's avatar
      Use true|false instead of y|n for environment variables · 9321eb44
      Luca Boccassi authored
      Commit 97c0e08b changed from yes|no to
      true|false. Maintain this consistency and change newly added
      environment variables.
    • Chas Williams's avatar
      Add back persistance fsck option · 68309568
      Chas Williams authored
      Commit bc79205b 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:
    • Sameer Agrawal's avatar
      Fix ifconfig parsing · 0d766871
      Sameer Agrawal authored
      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  netmask  broadcast
      $ 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:  Bcast:  Mask:
                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
  12. 07 Mar, 2018 1 commit
  13. 24 Feb, 2018 3 commits
  14. 23 Feb, 2018 7 commits
    • Raphaël Hertzog's avatar
      Update changelog for 1:20171121 release · ead6794f
      Raphaël Hertzog authored
    • Daniel Reichelt's avatar
      Use klibc's mount again for fuse mounts · 6a5807fd
      Daniel Reichelt authored
      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
    • Benjamin Drung's avatar
      Add configuration variables to build a stripped down initrd · 83882947
      Benjamin Drung authored
      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's avatarBenjamin Drung <benjamin.drung@profitbricks.com>
      Closes: #886337
    • Benjamin Drung's avatar
      Simplify mount point handling by using /run/live instead of /lib/live/mount · 0d878d3a
      Benjamin Drung authored
      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.htmlSigned-off-by: Benjamin Drung's avatarBenjamin Drung <benjamin.drung@profitbricks.com>
      Closes: #886328
    • Benjamin Drung's avatar
      Support setting upperdir tmpfs size with overlay-size boot parameter · 41611e08
      Benjamin Drung authored
      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's avatarBenjamin Drung <benjamin.drung@profitbricks.com>
      Closes: #885466
    • Benjamin Drung's avatar
      Avoid double slashes in some paths · 88b331d8
      Benjamin Drung authored
      Closes: #885453
    • Benjamin Drung's avatar
      Don't replace busybox's wget by the true wget · 6495a67a
      Benjamin Drung authored
      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
  15. 09 Feb, 2018 1 commit
  16. 21 Dec, 2017 1 commit
  17. 21 Nov, 2017 1 commit
  18. 23 Jun, 2017 1 commit