version 1.6.2.2, 2013/07/29 08:52:16
|
version 1.6.2.9, 2013/07/31 13:41:43
|
Line 56 build_romfs()
|
Line 56 build_romfs()
|
install -d boot/zfs; |
install -d boot/zfs; |
install -d dev; |
install -d dev; |
install -d elwix; |
install -d elwix; |
|
install -d elwix/altroot; |
|
install -d elwix/altroot/var; |
|
install -d elwix/cf; |
install -d elwix/etc; |
install -d elwix/etc; |
|
install -d -o 883 -g 883 elwix/etc/mqtt; |
install -d elwix/exports; |
install -d elwix/exports; |
install -d elwix/home; |
install -d elwix/home; |
install -d -m 0750 elwix/root; |
install -d -m 0750 elwix/root; |
install -d -m 0750 elwix/root/.ssh; |
install -d -m 0750 elwix/root/.ssh; |
install -d elwix/system; |
install -d elwix/system; |
install -d elwix/tftpboot; |
install -d elwix/tftpboot; |
install -d elwix/var; | install -d elwix/pkg; |
| install -d elwix/pkg/bin; |
| install -d elwix/pkg/lib; |
| install -d elwix/pkg/libexec; |
| install -d elwix/pkg/libdata; |
| install -d elwix/pkg/sbin; |
ln -fs /elwix/etc etc; |
ln -fs /elwix/etc etc; |
ln -fs /elwix/exports exports; |
ln -fs /elwix/exports exports; |
ln -fs /elwix/home home; |
ln -fs /elwix/home home; |
Line 73 build_romfs()
|
Line 82 build_romfs()
|
install -d mnt; |
install -d mnt; |
install -d -m 0555 proc; |
install -d -m 0555 proc; |
install -d sbin; |
install -d sbin; |
install -d -m 1777 tmp; | install -d tmp; |
install -d usr; |
install -d usr; |
install -d usr/bin; |
install -d usr/bin; |
install -d usr/lib; |
install -d usr/lib; |
Line 129 install_romfs()
|
Line 138 install_romfs()
|
install -v ${CFGDIR}/root.skel/profile $SKEL/dot.profile; |
install -v ${CFGDIR}/root.skel/profile $SKEL/dot.profile; |
install -v ${CFGDIR}/root.skel/vimrc $SKEL/dot.vimrc; |
install -v ${CFGDIR}/root.skel/vimrc $SKEL/dot.vimrc; |
|
|
|
find ${WORLD}/libexec -type f -name ld-elf.so\* -exec install {} $LIBEXEC \; |
|
|
find ${WORLD}/lib -type f -name \*.so.\* -exec install {} $LIBS \; |
find ${WORLD}/lib -type f -name \*.so.\* -exec install {} $LIBS \; |
find ${WORLD}/lib -type f -name libalias_\*.so -exec install {} $LIBS \; |
find ${WORLD}/lib -type f -name libalias_\*.so -exec install {} $LIBS \; |
find ${WORLD}/lib/geom -type f -name \*.so -exec install {} $LIBS/geom \; |
find ${WORLD}/lib/geom -type f -name \*.so -exec install {} $LIBS/geom \; |
Line 137 install_romfs()
|
Line 148 install_romfs()
|
|
|
InstallList ${ELWIX_ROMFS} ${WORLD} ${ROMFS} |
InstallList ${ELWIX_ROMFS} ${WORLD} ${ROMFS} |
|
|
|
ln ${BIN}/tcsh ${UBIN}/tcsh |
|
|
InstallDir ${WORLD}/usr/local/bin $UBIN |
InstallDir ${WORLD}/usr/local/bin $UBIN |
InstallDir ${WORLD}/usr/local/sbin $USBIN |
InstallDir ${WORLD}/usr/local/sbin $USBIN |
InstallFiles \*.so\* ${WORLD}/usr/local/lib $LIBS |
InstallFiles \*.so\* ${WORLD}/usr/local/lib $LIBS |
Line 200 build_romfs
|
Line 213 build_romfs
|
|
|
install_romfs |
install_romfs |
|
|
install_romfs2 | #install_romfs2 |
build_image2 | #build_image2 |
|
|
echo "+++ Complete build ELWIX RomFS" |
echo "+++ Complete build ELWIX RomFS" |