blend-rw -> blendrw

This commit is contained in:
Rudra Saraswat 2023-05-08 22:21:58 +05:30
parent 955db5b17a
commit d016275a71

View file

@ -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():