We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c985d9 commit 51275bbCopy full SHA for 51275bb
bin/GenGrubConf
@@ -91,6 +91,7 @@ class GrubConf:
91
this_partuuid = subprocess.check_output(["blkid", "-s", "PARTUUID", "-o", "value", this_dev]).strip("\n")
92
if len(this_partuuid):
93
self.data = self.data.replace("root=UUID={}".format(this_uuid), "root=PARTUUID={}".format(this_partuuid))
94
+ self.data = self.data.replace("root={}".format(this_dev), "root=PARTUUID={}".format(this_partuuid))
95
96
def main():
97
if len(sys.argv) != 2:
0 commit comments