* [9fans] Creating k10 kernel from 9legacy live cd (08-06-2024)
@ 2024-11-16 4:42 ibrahim via 9fans
0 siblings, 0 replies; only message in thread
From: ibrahim via 9fans @ 2024-11-16 4:42 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]
While building the k10 kernel using the latest 9legacy live cd (08-06-2024) following problem appeared :
term% mk
sh: /bin/ls: cannot execute - Access denied
sh: /bin/ls: cannot execute - Access denied
sh: /bin/ls: cannot execute - Access denied
sh: /bin/ls: cannot execute - Access denied
../boot/libboot.a6 doesn't exist: assuming it will be an archive
awk -f ../mk/parse -- -mkdevc k10cpu > k10cpu.c
{echo 'char configfile[]={'
xd -1x k10cpu |
sed -e 's/^[0-9a-f]+ //' -e 's/ ([0-9a-f][0-9a-f])/0x\1,/g'
echo 0,
echo '};'} >> k10cpu.c
mk: no recipe to make 'kbd.6' in directory /sys/src/9k/k10
Reason :
term% ls -l /386/bin/ls
--rw-r--r-- M 1 any any 81908 Jun 8 14:59 /386/bin/ls
All commands called by awk scripts need r-x access mode for group, because the shell is checking !!!
Workaround :
chmod 754 /386/bin/ls
Suggestion :
All potential candidates for commands which can be used inside awk in the form
cmd | getline
should get group mode r-x when creating the CDROM.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tdbdea64549c65454-M4a2d7fa442af5f4626d45138
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 3005 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-16 4:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-16 4:42 [9fans] Creating k10 kernel from 9legacy live cd (08-06-2024) ibrahim via 9fans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).