fix busybox

This commit is contained in:
Chia-Che Tsai
2015-06-19 16:44:22 -04:00
parent 7c5cf0bbe1
commit 0885fd8050
3 changed files with 4 additions and 0 deletions
+2
View File
@@ -363,6 +363,8 @@ char * dentry_get_path (struct shim_dentry * dent, bool on_stack,
} else {
if (c != buffer && *(c - 1) == '/')
c--;
if (c == buffer)
*(c++) = '/';
}
*c = 0;
+1
View File
@@ -13,6 +13,7 @@ manifest_rules = \
-e 's:\$$(BIN):$(subst .manifest,,$(notdir $@)):g' \
-e 's:\$$(SHIMPATH):$(abspath ../../src/libsysdb.so):g' \
-e 's:\$$(GLIBCDIR):$(abspath $(glibc_dir))/:g' \
-e 's:\$$(HOSTNAME):$(shell hostname)/:g' \
$(extra_rules)
%.manifest: %.manifest.template
@@ -8,6 +8,7 @@ loader.env.LD_LIBRARY_PATH = /lib:/lib/x86_64-linux-gnu
loader.env.USERNAME =
loader.env.HOME =
loader.env.PWD =
loader.env.HOSTNAME = $(HOSTNAME)
loader.debug_type = none
fs.mount.root.type = chroot