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