forked from freebsd/freebsd-wifi-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bsdbox_tinymfsroot.patch
72 lines (65 loc) · 2.15 KB
/
bsdbox_tinymfsroot.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
diff --git a/tools/bsdbox/Makefile b/tools/bsdbox/Makefile
index 7189f43f092..9833eff7ee4 100644
--- a/tools/bsdbox/Makefile
+++ b/tools/bsdbox/Makefile
@@ -95,7 +95,7 @@ CRUNCH_LIBS+= -lm
.include "Makefile.base"
.include "Makefile.net"
.include "Makefile.hostapd"
-#.include "Makefile.textproc"
+.include "Makefile.textproc"
.include "Makefile.login"
.include "Makefile.kld"
# telnet/telnetd are too broken to include as a crunchgen'ed binary,
diff --git a/tools/bsdbox/Makefile.base b/tools/bsdbox/Makefile.base
index 02749490551..faeaf1e7be2 100644
--- a/tools/bsdbox/Makefile.base
+++ b/tools/bsdbox/Makefile.base
@@ -5,7 +5,7 @@
# $FreeBSD$
#
CRUNCH_PROGS_sbin+= dmesg sysctl init reboot
-CRUNCH_PROGS_bin+= ls cat dd df cp hostname kill mkdir sleep ps
+CRUNCH_PROGS_bin+= ls cat dd df cp hostname kill pkill mkdir sleep ps
CRUNCH_PROGS_bin+= ln rm kenv mv expr
CRUNCH_PROGS_usr.bin+= true false hexdump tail nc w head uname tset
CRUNCH_PROGS_usr.sbin+= gpioctl
@@ -34,6 +34,9 @@ CRUNCH_BUILDTOOLS+= bin/sh
CRUNCH_PROGS_usr.sbin+= chown
CRUNCH_ALIAS_chown= chgrp
+# chmod
+CRUNCH_PROGS_bin+= chmod
+
# Basic filesystem stuff
CRUNCH_PROGS_sbin+= mount umount
@@ -42,8 +45,8 @@ CRUNCH_PROGS_sbin+= mount umount
#CRUNCH_PROGS_usr.bin+= grep
# less/more
-#CRUNCH_PROGS_usr.bin+= less
-#CRUNCH_ALIAS_less= more
+CRUNCH_PROGS_usr.bin+= less
+CRUNCH_ALIAS_less= more
# passwd
CRUNCH_PROGS_usr.bin+= passwd
diff --git a/tools/bsdbox/Makefile.net b/tools/bsdbox/Makefile.net
index ed39decd4ac..917e7d80762 100644
--- a/tools/bsdbox/Makefile.net
+++ b/tools/bsdbox/Makefile.net
@@ -8,8 +8,8 @@ CRUNCH_PROGS_sbin+= route ping
CRUNCH_PROGS_usr.sbin+= arp
# inetd
-CRUNCH_PROGS_usr.sbin+= inetd
-CRUNCH_LIBS+= -lwrap
+#CRUNCH_PROGS_usr.sbin+= inetd
+#CRUNCH_LIBS+= -lwrap
#.if ${MK_INET6_SUPPORT} != "no"
#CRUNCH_PROGS_sbin+= ping6
diff --git a/tools/bsdbox/Makefile.textproc b/tools/bsdbox/Makefile.textproc
index a913d460597..ed13dc21d07 100644
--- a/tools/bsdbox/Makefile.textproc
+++ b/tools/bsdbox/Makefile.textproc
@@ -18,3 +18,5 @@ CRUNCH_PROGS_usr.bin+= sed
#CRUNCH_PROGS_usr.bin+= vi
CRUNCH_PROGS_usr.bin+= ee
+# a small gift for vi users :)
+CRUNCH_ALIAS_ee= vi