summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJonathan Bauer2013-02-21 12:23:16 +0100
committerJonathan Bauer2013-02-21 12:23:16 +0100
commitf1d2a176caae51bf1dac6127c1b4303cbce7515a (patch)
tree53e02f7cf571995438e34e034e3f9ea78e08b125 /server
parent[systemd] kmod variable fix (diff)
downloadtm-scripts-f1d2a176caae51bf1dac6127c1b4303cbce7515a.tar.gz
tm-scripts-f1d2a176caae51bf1dac6127c1b4303cbce7515a.tar.xz
tm-scripts-f1d2a176caae51bf1dac6127c1b4303cbce7515a.zip
[core] stage31 lib as symlink to use /mnt/lib when squashfs is mounted
Diffstat (limited to 'server')
-rwxr-xr-xserver/build_core3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/build_core b/server/build_core
index 3b1e0f19..c231dc82 100755
--- a/server/build_core
+++ b/server/build_core
@@ -62,7 +62,7 @@ generate_rootfs() {
[ ! -d ${STAGE31_DIR} ] && mkdir -p ${STAGE31_DIR}
# create basic directory structure
- mkdir -p ${STAGE31_DIR}/{bin,dev,proc,run,lib,etc,mnt,sys}
+ mkdir -p ${STAGE31_DIR}/{bin,dev,proc,run,etc,mnt,sys}
# copy device files from running system
cp -a /dev/{console,kmsg,mem,null,tty,tty0,tty1,tty9,urandom,zero} \
@@ -72,6 +72,7 @@ generate_rootfs() {
cp -r ${STAGE32_DIR}/openslx/* ${STAGE31_STATIC_DIR}/* ${STAGE31_DIR}
# fix for aufs & squashfs modules needed for stage 3.1
+ mkdir -p ${STAGE31_DIR}/lib/modules.0/
cp /lib/modules/$(uname -r)/kernel/fs/squashfs/squashfs.ko ${STAGE31_DIR}/lib/modules.0/
cp /lib/modules/$(uname -r)/kernel/ubuntu/aufs/aufs.ko ${STAGE31_DIR}/lib/modules.0/