1 2

[PATCH builds.sr.ht] images/freebsd: use GPT label instead of device path in fstab

Details
Message ID
<l1N0Ng2mYr6Cx3ynlPPOG9Pw9gJ3SRfzASYlOLy6bc94_xGuDn5YtgF0wicUJI8bC38Q7JIy_jGm1QguQ5fKOiFU22a_ZZSDaxCFbEweShI=@emersion.fr>
Sender timestamp
1549928871
DKIM signature
pass
Download raw message
Patch: +1 -1
From: emersion <contact@emersion.fr>

The device path depends on the driver used.
---
 images/freebsd/genimg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/images/freebsd/genimg b/images/freebsd/genimg
index 089e01a..91994a7 100755
--- a/images/freebsd/genimg
+++ b/images/freebsd/genimg
@@ -37,7 +37,7 @@ do
 	tar -C /mnt -xJf "$dist_dir/$f"
 done
 
-echo "/dev/ada0p2 / ufs rw,noatime 1 1" >/mnt/etc/fstab
+echo "/dev/gpt/rootfs / ufs rw,noatime 1 1" >/mnt/etc/fstab
 touch /mnt/firstboot
 echo 'autoboot_delay="-1"' >>/mnt/boot/loader.conf
 
-- 
2.20.1
Details
Message ID
<20190212141151.GA2830@homura.localdomain>
In-Reply-To
<l1N0Ng2mYr6Cx3ynlPPOG9Pw9gJ3SRfzASYlOLy6bc94_xGuDn5YtgF0wicUJI8bC38Q7JIy_jGm1QguQ5fKOiFU22a_ZZSDaxCFbEweShI=@emersion.fr> (view parent)
Sender timestamp
1549980711
DKIM signature
pass
Download raw message
Thanks!

To git.sr.ht:~sircmpwn/builds.sr.ht
   0330da4..c6c1570  master -> master