Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:coolo:fakedevel
base-image
pre-init.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pre-init.sh of Package base-image
#!/bin/sh set -eux odir=/dev-overlay if [ -d $odir ]; then /usr/sbin/modprobe overlay umask 022 mount -o remount,rw / mount -t tmpfs tmpfs -orw,nosuid,nodev,relatime,seclabel,mode=755 /run for i in $(cd $odir; ls | grep -v work); do mkdir -p ${odir}/${i}-work mount -t overlay overlay -o upperdir=${odir}/${i},workdir=${odir}/${i}-work,lowerdir=/${i} /${i} mkdir -p /run/systemd/system/${i}.mount.d/ cat >/run/systemd/system/${i}.mount.d/lazyumount.conf <<EOU [Mount] LazyUnmount=true EOU done fi exec /usr/lib/systemd/systemd
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor