]> git.ipfire.org Git - ipfire-2.x.git/commit
make.sh: Bind-mount all loop devices
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 11 Sep 2024 09:31:43 +0000 (09:31 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 11 Sep 2024 09:31:43 +0000 (09:31 +0000)
commit7ad12edfb0d233498410f2afc09753e70de50f80
tree2a35f61906760353346a935f9c6eb346ceb7c95b
parent07f6a51a20cacad8cbfa933ab2af4365cdd30505
make.sh: Bind-mount all loop devices

There seems to be a different way how to create loop devices. On my
Debian system, the first loop device is a block device with major=7 and
minor=0, the second device is major=7 and minor=1, and so on.

On a system running Grml, the second loop device has major=7 and
minor=32, and all following ones are increasing their minor by 32
as well instead of one.

Since I don't have an easy way to detect this, we will simply bind-mount
all available loop devices in to the build environment.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh