- # Directory structure
- install -d $PKG/bin
- install -d $PKG/sbin
- install -d $PKG/boot
- install -d $PKG/dev
- install -d $PKG/dev/{pts,shm}
- install -d $PKG/proc
- install -d $PKG/sys
- install -d $PKG/etc
- install -d $PKG/mnt
- install -d $PKG/run
- install -d $PKG/lib
- install -d $PKG/lib/modules
- install -d $PKG/opt
- install -d $PKG/opt/bin
- install -d $PKG/opt/sbin
- install -d $PKG/usr
- install -d $PKG/usr/{bin,include,lib,sbin,share,src}
- install -d -p $PKG/usr/share/man/man{1,2,3,4,5,6,7,8}
- ln -s ../var $PKG/usr/var
- install -d $PKG/var
- install -d $PKG/var/cache
- install -d $PKG/var/lib
- install -d $PKG/var/lib/pkg
- install -d $PKG/var/log
- install -d $PKG/var/log/old
- install -d $PKG/var/run
- touch $PKG/var/run/utmp
- install -d $PKG/var/spool
- install -d $PKG/var/ftp
- install -d $PKG/var/www
- install -d $PKG/var/empty
- ln -s spool/mail $PKG/var/mail
- install -d $PKG/home
+ # Directory structure
+ install -d $PKG/bin
+ install -d $PKG/sbin
+ install -d $PKG/boot
+ install -d $PKG/dev
+ install -d $PKG/dev/{pts,shm}
+ install -d $PKG/proc
+ install -d $PKG/sys
+ install -d $PKG/etc
+ install -d $PKG/mnt
+ install -d $PKG/run
+ install -d $PKG/lib{,32}
+ ln -s lib $PKG/lib64
+ install -d $PKG/lib/modules
+ install -d $PKG/opt
+ install -d $PKG/opt/bin
+ install -d $PKG/opt/sbin
+ install -d $PKG/usr
+ install -d $PKG/usr/{bin,include,lib{,32},sbin,share,src}
+ ln -s lib $PKG/usr/lib64
+ install -d -p $PKG/usr/share/man/man{1,2,3,4,5,6,7,8}
+ ln -s ../var $PKG/usr/var
+ install -d $PKG/var
+ install -d $PKG/var/cache
+ install -d $PKG/var/lib
+ install -d $PKG/var/lib/pkg
+ install -d $PKG/var/log
+ install -d $PKG/var/log/old
+ install -d $PKG/var/run
+ touch $PKG/var/run/utmp
+ install -d $PKG/var/spool
+ install -d $PKG/var/ftp
+ install -d $PKG/var/www
+ install -d $PKG/var/empty
+ ln -s spool/mail $PKG/var/mail
+ install -d $PKG/home