diff --git a/.cirrus.yml b/.cirrus.yml index 9d2b0293..20565af4 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -5,7 +5,7 @@ task: matrix: # image: freebsd-12-1-release-amd64 # EOL - image: freebsd-12-2-release-amd64 - - image: freebsd-13-0-release-amd64 # ISO way too large, HIDPI broken? + # image: freebsd-13-0-release-amd64 # ISO way too large, HIDPI broken, BIOS boot broken, boot installed system broken? env: CIRRUS_CLONE_DEPTH: 1 diff --git a/build.sh b/build.sh index 388d3a1c..23e6eee7 100755 --- a/build.sh +++ b/build.sh @@ -335,8 +335,10 @@ initgfx() else PKGS="latest" fi + + # 390 needed for Nvidia Quadro 2000, https://github.com/helloSystem/hello/discussions/241#discussioncomment-1599131 + for ver in '390'; do # Only use NVIDIA version 440 and 390 for now to reduce ISO image size # for ver in '' 390 340 304; do - for ver in ''; do # Only use NVIDIA version 440 for now to reduce ISO image size pkgfile=$(/usr/local/sbin/pkg-static -c ${uzip} rquery %n-%v.txz nvidia-driver${ver:+-$ver}) fetch -o "${cache}/" "https://pkg.freebsd.org/FreeBSD:${MAJOR}:amd64/${PKGS}/All/${pkgfile}" mkdir -p "${uzip}/usr/local/nvidia/${ver:-440}/" diff --git a/overlays/uzip/hello/files/usr/local/bin/desktop2app b/overlays/uzip/hello/files/usr/local/bin/desktop2app index 7d328d2d..b2f40249 100755 --- a/overlays/uzip/hello/files/usr/local/bin/desktop2app +++ b/overlays/uzip/hello/files/usr/local/bin/desktop2app @@ -271,7 +271,7 @@ if __name__ == "__main__": try: import psutil except: - print("Cannot watch the system for newly installed applications since py37-psutil is missing.") + print("Cannot watch the system for newly installed applications since sysutils/py-psutil is missing.") exit(1) signal.signal(signal.SIGINT, QtCore.QCoreApplication.quit) # FIXME: Make Ctrl-C work; Does not seem to work diff --git a/overlays/uzip/hello/files/usr/share/skel/dot.config/chromium/Default/Preferences b/overlays/uzip/hello/files/usr/share/skel/dot.config/chromium/Default/Preferences index 2da410d4..327b7622 100644 --- a/overlays/uzip/hello/files/usr/share/skel/dot.config/chromium/Default/Preferences +++ b/overlays/uzip/hello/files/usr/share/skel/dot.config/chromium/Default/Preferences @@ -1 +1,6 @@ -{"custom_chrome_frame":true} +{ + "browser":{ + "custom_chrome_frame":false, + "has_seen_welcome_page":true + } +} diff --git a/overlays/uzip/initgfx/files/etc/rc.d/initgfx_message b/overlays/uzip/initgfx/files/etc/rc.d/initgfx_message new file mode 100755 index 00000000..a50f5dd3 --- /dev/null +++ b/overlays/uzip/initgfx/files/etc/rc.d/initgfx_message @@ -0,0 +1,72 @@ +#!/bin/sh +# +# Copyright (c) 2021, Simon Peter +# +# PROVIDE: initgfx_message +# REQUIRE: LOGIN +# BEFORE: initgfx + +. /etc/rc.subr + +name=initgfx_message +start_cmd="do_initgfx_message" + +rcvar=initgfx_enable + +load_rc_config ${name} + +: ${initgfx_enable:="YES"} + +initgfx_warn() +{ + echo "${name}:" $* >&2 +} + +initgfx_debug() +{ + echo "${name}:" $* >&2 +} + +do_initgfx_message() +{ +# Wait for one minute after running initfgx +sleep 60 + +# Exit if Xorg is running +pgrep -f Xorg && exit 0 + +# If we don't have Xorg running by then, output a message and offer to log into the machine +clear +cat > /dev/console <