mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-06-05 17:14:38 -04:00
update
This commit is contained in:
parent
be50ea69aa
commit
1186caba41
34 changed files with 3002 additions and 166 deletions
1166
BUSYBOX/64h.config
Normal file
1166
BUSYBOX/64h.config
Normal file
File diff suppressed because it is too large
Load diff
18
BUSYBOX/chmod/build.sh
Normal file
18
BUSYBOX/chmod/build.sh
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
DSTDIR=../../IMG/cpio/ventoy/busybox
|
||||
|
||||
rm -f vtchmod32 vtchmod64
|
||||
rm -f $DSTDIR/vtchmod32 $DSTDIR/vtchmod64
|
||||
|
||||
/opt/diet32/bin/diet gcc -Os -m32 vtchmod.c -o vtchmod32
|
||||
/opt/diet64/bin/diet gcc -Os vtchmod.c -o vtchmod64
|
||||
|
||||
chmod 777 vtchmod32
|
||||
chmod 777 vtchmod64
|
||||
|
||||
cp -a vtchmod32 $DSTDIR/
|
||||
cp -a vtchmod64 $DSTDIR/
|
||||
|
||||
|
||||
|
13
BUSYBOX/chmod/vtchmod.c
Normal file
13
BUSYBOX/chmod/vtchmod.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
if (argc != 2)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
return chmod(argv[1], 0777);
|
||||
}
|
||||
|
BIN
BUSYBOX/chmod/vtchmod32
Normal file
BIN
BUSYBOX/chmod/vtchmod32
Normal file
Binary file not shown.
BIN
BUSYBOX/chmod/vtchmod64
Normal file
BIN
BUSYBOX/chmod/vtchmod64
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue