Page MenuHomeFreeBSD

D53777.diff
No OneTemporary

D53777.diff

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

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)

Event Timeline