Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159708525
D53777.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
572 B
Referenced Files
None
Subscribers
None
D53777.diff
View Options
diff --git a/usr.sbin/bsdinstall/scripts/pkgbase.in b/usr.sbin/bsdinstall/scripts/pkgbase.in
--- a/usr.sbin/bsdinstall/scripts/pkgbase.in
+++ b/usr.sbin/bsdinstall/scripts/pkgbase.in
@@ -355,6 +355,10 @@
if not os.execute(pkg .. "install -U -y -r FreeBSD-base " .. packages) then
os.exit(1)
end
+
+ -- Enable the FreeBSD-base repository for this system.
+ assert(os.execute("mkdir -p " .. chroot .. "/usr/local/etc/pkg/repos"))
+ assert(os.execute("echo 'FreeBSD-base: { enabled: yes }' > " .. chroot .. "/usr/local/etc/pkg/repos/FreeBSD.conf"))
end
pkgbase()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jun 18, 8:13 AM (12 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34047286
Default Alt Text
D53777.diff (572 B)
Attached To
Mode
D53777: bsdinstall: Enable FreeBSD-base repo when pkgbase
Attached
Detach File
Event Timeline
Log In to Comment