Skip to content

nand-sata-install - possibility to run from chroot #2533

Open
@piknew

Description

@piknew

When using nand-sata-install script the issue is with line which recognizes root device:

image

This code ignores the fact, that root device may be eg. chrooted from image (loopback). It is always returning UUID of root of host system.

The fix would be to replace (line 43) it with:

image

Then it is correctly recognizing root device and later partitions etc.:

non-chrooted:
image

chrooted (image is mounted as looppack device):
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugfixPull request is fixing a bugHelp neededWe need your involvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions