Check-in [a0315ec3f2]
Logged in as anonymous
Overview
Comment:fix tmpfs probing
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a0315ec3f2a15315fa94fbcae599db32f1e91b91cb3be17e57ecc6c571d49a31
User & Date: arcade on 2023-11-04 08:48:03.216
Other Links: manifest | tags
Context
2023-11-04
08:49
fix binary selection, stop when no binary, add idprio/rtprio check-in: adf4eb9997 user: arcade tags: trunk
08:48
fix tmpfs probing check-in: a0315ec3f2 user: arcade tags: trunk
08:46
fix powerd startup check-in: 46faf0fe08 user: arcade tags: trunk
Changes
Modified rc from [abc25b95c9] to [d2915a4ed3].
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

export PATH HOME

MAKEINIT="make -D AUTOBOOT -C /etc/mrc -k"
NCPU=$((`/sbin/sysctl -n hw.ncpu` + 1 ))
#MAKEDEBUG="-d -nelLx"

if mount -t tmpfs tmpfs /etc/mrc/tmp; then
  ${MAKEINIT} -j ${NCPU} ${MAKEDEBUG} -X TMPDIR=/etc/mrc/tmp && umount -f /etc/mrc/tmp
else
  ${MAKEINIT}
fi

echo ''
date







|







9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

export PATH HOME

MAKEINIT="make -D AUTOBOOT -C /etc/mrc -k"
NCPU=$((`/sbin/sysctl -n hw.ncpu` + 1 ))
#MAKEDEBUG="-d -nelLx"

if mkdir -p /etc/mrc/tmp && mount -t tmpfs tmpfs /etc/mrc/tmp; then
  ${MAKEINIT} -j ${NCPU} ${MAKEDEBUG} -X TMPDIR=/etc/mrc/tmp && umount -f /etc/mrc/tmp
else
  ${MAKEINIT}
fi

echo ''
date