Skip to content

requires /sbin in user's path #106

@jamincollins

Description

@jamincollins
INFO: vfat(boot.vfat): cmd: "mkdosfs -S 512 -i 2D96C164 -n 'BOOT' '/home/jamin/rpi-image-gen/work/image-deb12-arm64-min/boot.vfat'" (stderr):
/bin/sh: 1: mkdosfs: not found

mkdosfs resides in /sbin:

 dpkg -L dosfstools | grep 'bin.*mkdosfs'
/sbin/mkdosfs

Once I added /sbin to my user's path the command completed successfully.

Might be better in general to fully scope/path binary calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions