Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

further trimming of base builder

  • Loading branch information...
commit 809b5b2fe69bb6a392f08ee747d1c1d3db4794bc 1 parent f584fe8
@falconindy authored
Showing with 1 addition and 14 deletions.
  1. +1 −14 builders/base
View
15 builders/base
@@ -1,24 +1,12 @@
#!/bin/bash
build() {
- # directory structure
+ # necessary directory structure
add_dir /new_root
-
add_dir /proc
add_dir /sys
add_dir /dev
- add_dir /bin
- add_dir /sbin
-
- add_dir /lib
- add_dir /lib/modules
-
- add_dir /usr
- add_dir /usr/bin
- add_dir /usr/lib
- add_dir /usr/sbin
-
add_device /dev/null c 1 3
add_device /dev/zero c 1 5
add_device /dev/console c 5 1
@@ -27,7 +15,6 @@ build() {
add_binary /lib/initcpio/busybox /bin/busybox
add_binary /sbin/modprobe
add_binary /sbin/blkid
-
add_binary "$_sharedir/init" "/init"
# write a tasty config file that our init will enjoy
Please sign in to comment.
Something went wrong with that request. Please try again.