mirror of
https://github.com/clearlinux/graphene.git
synced 2026-08-22 22:56:09 +00:00
fix busybox
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user