blend-rw -> blendrw
This commit is contained in:
parent
955db5b17a
commit
d016275a71
1 changed files with 4 additions and 4 deletions
8
akshara
8
akshara
|
@ -232,10 +232,10 @@ def install_system_package():
|
||||||
exec('rm', '-rf', f'/mnt/{old_overlay}')
|
exec('rm', '-rf', f'/mnt/{old_overlay}')
|
||||||
error('error during overlay creation')
|
error('error during overlay creation')
|
||||||
exit(1)
|
exit(1)
|
||||||
exec('mkdir', '-p', '/.blend-rw')
|
exec('mkdir', '-p', '/.blendrw')
|
||||||
exec('mount', subprocess.run(['findmnt', '-n', '-o', 'SOURCE', '/'], stdout=subprocess.PIPE).stdout.decode().strip(), '/.blend-rw')
|
exec('mount', subprocess.run(['findmnt', '-n', '-o', 'SOURCE', '/'], stdout=subprocess.PIPE).stdout.decode().strip(), '/.blendrw')
|
||||||
exec('mount', '-t', 'overlay', 'overlay', '-o', f'lowerdir=/usr,upperdir={usr_overlay},workdir={usr_overlay_workdir}', '/.blend-rw/usr')
|
exec('mount', '-t', 'overlay', 'overlay', '-o', f'lowerdir=/usr,upperdir={usr_overlay},workdir={usr_overlay_workdir}', '/.blendrw/usr')
|
||||||
exec('mount', '-t', 'overlay', 'overlay', '-o', f'lowerdir=/var/lib/pacman,upperdir={varlibpacman_overlay},workdir={varlibpacman_overlay_workdir}', '/.blend-rw/var/lib/pacman')
|
exec('mount', '-t', 'overlay', 'overlay', '-o', f'lowerdir=/var/lib/pacman,upperdir={varlibpacman_overlay},workdir={varlibpacman_overlay_workdir}', '/.blendrw/var/lib/pacman')
|
||||||
|
|
||||||
|
|
||||||
def daemon():
|
def daemon():
|
||||||
|
|
Loading…
Reference in a new issue