Skip to content

Commit

Permalink
CI: set "usesh: false" to make sure ~/.profile is loaded.
Browse files Browse the repository at this point in the history
NetBSD's default root shell has been /bin/sh, not /bin/ksh
since NetBSD 6.0.
  • Loading branch information
tsutsui committed Aug 18, 2024
1 parent d857fbf commit a37ac49
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,14 @@ jobs:
uses: vmactions/netbsd-vm@v1
with:
release: "10.0"
usesh: true
usesh: false
copyback: false
prepare: |
uname -a
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin
export PATH
ftp -o - https://cdn.NetBSD.org/pub/NetBSD/NetBSD-`uname -r`/amd64/binary/sets/xbase.tar.xz | tar -C / -zxpf - ./usr/X11R7/bin ./usr/X11R7/include ./usr/X11R7/lib ./usr/X11R7/share
ftp -o - https://cdn.NetBSD.org/pub/NetBSD/NetBSD-`uname -r`/amd64/binary/sets/xcomp.tar.xz | tar -C / -zxpf - ./usr/X11R7/include ./usr/X11R7/lib ./usr/X11R7/share
run: |
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin
export PATH
cp src/config.h-netbsd src/config.h
make
make install

0 comments on commit a37ac49

Please sign in to comment.