turnkeylinux / tracker

TurnKey Linux Tracker
https://www.turnkeylinux.org
71 stars 16 forks source link

buildtasks: `25ec2-resizerootpart` inithook hardcodes root device to `/dev/xvda` #2002

Closed a3s7p closed 17 hours ago

a3s7p commented 5 days ago

While this still works for older regions available in the Hub like eu-west-1, the newer ones like eu-north-1 use /dev/nvme0n1 instead.

This leads to the inithook failing. The subsequent 26ec2-resizerootfs works as it finds the root FS dynamically, however since the partition has not been enlarged this leads to the root FS staying at 10G despite more space being available.

Should be a small fix to the inithook to find the actual root partition dynamically.