[Git-commits] [grml/grml-scripts] 099f92: Fix `grml2ram` when booted via `loopback.cfg`

Michael Prokop noreply at github.com
Thu Feb 2 15:28:29 CET 2023


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-scripts
  Commit: 099f921c3368735a4162d07d6c4d8e324b524b72
      https://github.com/grml/grml-scripts/commit/099f921c3368735a4162d07d6c4d8e324b524b72
  Author: Michael Schierl <schierlm at gmx.de>
  Date:   2023-01-14 (Sat, 14 Jan 2023)

  Changed paths:
    M usr_sbin/grml2ram

  Log Message:
  -----------
  Fix `grml2ram` when booted via `loopback.cfg`

When booted from a multiboot USB stick via loopback.cfg (or when using
`findiso=` kernel option manually), `/dev/loop0` is used for the ISO file and
`/dev/loop1` for the squashfs image.

Therefore, changing backing file descriptor of `/dev/loop0` will fail. Call `losetup` to find the name of
the loop device associaed to the squashfs image instead.


  Commit: 2d82a9d638ed96f953dda1707ab6922f91d0b3e4
      https://github.com/grml/grml-scripts/commit/2d82a9d638ed96f953dda1707ab6922f91d0b3e4
  Author: Michael Prokop <mika at grml.org>
  Date:   2023-02-02 (Thu, 02 Feb 2023)

  Changed paths:
    M usr_sbin/grml2ram

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/github/pr/17'


Compare: https://github.com/grml/grml-scripts/compare/0ac4551b01b4...2d82a9d638ed


More information about the Git-commits mailing list