Browse Source

- rootfs.mk: create /home directory for hd51

master
vanhofen 8 years ago
parent
commit
5eb901b158
  1. 16
      make/rootfs.mk

16
make/rootfs.mk

@ -101,14 +101,18 @@ endif
# create softlinks in filesystem # create softlinks in filesystem
softlinks: $(BOX) softlinks: $(BOX)
pushd $(BOX) && \ pushd $(BOX) && \
ln -sf /var/root root && \ ln -sf /var/root root
ifeq ($(BOXSERIES), hd51)
pushd $(BOX) && \
ln -sf /var/root home
endif
pushd $(BOX)/usr && \ pushd $(BOX)/usr && \
ln -sf /share share && \ ln -sf /share share
pushd $(BOX)/usr/bin && \ pushd $(BOX)/usr/bin && \
ln -sf /bin/env env && \ ln -sf /bin/env env
pushd $(BOX)/var && \ pushd $(BOX)/var && \
ln -sf /tmp run && \ ln -sf /tmp run && \
ln -sf /tmp tmp && \ ln -sf /tmp tmp
pushd $(BOX)/etc/init.d && \ pushd $(BOX)/etc/init.d && \
ln -sf fstab K99fstab && \ ln -sf fstab K99fstab && \
ln -sf fstab S01fstab && \ ln -sf fstab S01fstab && \
@ -152,9 +156,9 @@ ifeq ($(BOXSERIES), hd2)
ln -sf libuClibc-$(UCLIBC_VER).so libpthread.so.0 && \ ln -sf libuClibc-$(UCLIBC_VER).so libpthread.so.0 && \
ln -sf libuClibc-$(UCLIBC_VER).so libm.so.0 && \ ln -sf libuClibc-$(UCLIBC_VER).so libm.so.0 && \
ln -sf libuClibc-$(UCLIBC_VER).so librt.so.0 ln -sf libuClibc-$(UCLIBC_VER).so librt.so.0
ifeq ($(NEWIMAGE), yes) ifeq ($(NEWIMAGE), yes)
touch -f $(BOX)/var/etc/.newimage touch -f $(BOX)/var/etc/.newimage
endif endif
endif endif
mkdir -p $(BOX)/var/tuxbox/config && \ mkdir -p $(BOX)/var/tuxbox/config && \
pushd $(BOX)/var/tuxbox/config && \ pushd $(BOX)/var/tuxbox/config && \

Loading…
Cancel
Save