Compare commits

..

2 Commits

Author SHA1 Message Date
7eab6eb695
fix: resize root partition after dd 2024-07-29 11:36:08 +00:00
603c5cd15d
typo 2024-07-29 08:33:17 +00:00
2 changed files with 3 additions and 2 deletions

View File

@ -12,4 +12,5 @@ $(IMAGE):
flash: $(IMAGE) $(TARGET) flash: $(IMAGE) $(TARGET)
sudo dd if=$(IMAGE) of=$(TARGET) sudo dd if=$(IMAGE) of=$(TARGET)
sudo parted -sf $(TARGET) p sudo partprobe
sudo parted -sf $(TARGET) resizepart 2 100%

View File

@ -25,7 +25,7 @@ let
dtb = "${linuxPackages_x1e.kernel}/dtbs/qcom/x1e78100-lenovo-thinkpad-t14s.dtb"; dtb = "${linuxPackages_x1e.kernel}/dtbs/qcom/x1e78100-lenovo-thinkpad-t14s.dtb";
dtbHash = builtins.hashFile "md5" dtb; dtbHash = builtins.hashFile "md5" dtb;
dtbName = "x1e80100-${dtbHash}.dtb"; dtbName = "x1e78100-${dtbHash}.dtb";
in { in {
boot = { boot = {
kernelPackages = linuxPackages_x1e; kernelPackages = linuxPackages_x1e;