← Back to team overview

curtin-dev team mailing list archive

[Merge] ~dbungert/curtin:fix-kname-link into curtin:master

 

Dan Bungert has proposed merging ~dbungert/curtin:fix-kname-link into curtin:master.

Commit message:
block: fix kname kernel ref

Requested reviews:
  curtin developers (curtin-dev)

For more details, see:
https://code.launchpad.net/~dbungert/curtin/+git/curtin/+merge/460269
-- 
Your team curtin developers is requested to review the proposed merge of ~dbungert/curtin:fix-kname-link into curtin:master.
diff --git a/curtin/block/__init__.py b/curtin/block/__init__.py
index 38a105c..87990d6 100644
--- a/curtin/block/__init__.py
+++ b/curtin/block/__init__.py
@@ -134,7 +134,7 @@ def partition_kname(disk_kname, partition_number):
                                                     partition_number)))
 
     # follow the same rules the kernel check_partition() does
-    # https://github.com/torvalds/linux/blob/0fac198/block/partitions/core.c#L141
+    # https://github.com/torvalds/linux/blob/0473719/block/partitions/core.c#L330
     if disk_kname[-1:].isdigit():
         partition_number = "p%s" % partition_number
     return "%s%s" % (disk_kname, partition_number)

Follow ups