Commit e9391c4e authored by qbisi's avatar qbisi
Browse files

nixos/systemd-boot-builder: add leading slash to devicetree path

parent 01b6809f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -222,7 +222,7 @@ def write_entry(profile: str | None, generation: int, specialisation: str | None
        if machine_id is not None:
            f.write("machine-id %s\n" % machine_id)
        if devicetree is not None:
            f.write("devicetree %s\n" % devicetree)
            f.write(f"devicetree /{devicetree}\n")
        f.flush()
        os.fsync(f.fileno())
    tmp_path.rename(entry_file)