Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/root Use sysctl -n hw.machine_arch so this works on e.g....



details:   https://anonhg.NetBSD.org/src/rev/83df8b1cc6d7
branches:  trunk
changeset: 937305:83df8b1cc6d7
user:      nia <nia%NetBSD.org@localhost>
date:      Sat Aug 15 14:47:28 2020 +0000

description:
Use sysctl -n hw.machine_arch so this works on e.g. aarch64

Ues HTTPS

diffstat:

 etc/root/dot.profile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r fad91fa02ee2 -r 83df8b1cc6d7 etc/root/dot.profile
--- a/etc/root/dot.profile      Sat Aug 15 14:45:31 2020 +0000
+++ b/etc/root/dot.profile      Sat Aug 15 14:47:28 2020 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: dot.profile,v 1.30 2018/03/01 06:12:09 snj Exp $
+#      $NetBSD: dot.profile,v 1.31 2020/08/15 14:47:28 nia Exp $
 
 export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin
 export PATH=${PATH}:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin
 
 # Uncomment the following line(s) to install binary packages
 # from cdn.NetBSD.org via pkg_add.  (See also pkg_install.conf)
-#export PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.|cut -f 1 -d_)/All"
+#export PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(sysctl -n hw.machine_arch)/$(uname -r|cut -f '1 2' -d.|cut -f 1 -d_)/All"
 
 export BLOCKSIZE=1k
 



Home | Main Index | Thread Index | Old Index