#!/bin/sh # # create hostfs entry set -ex echo "I: Adding var/lib/snapd/hostfs" PREFIX=binary/boot/filesystem.dir (cd $PREFIX install -m755 -d var/lib/snapd/hostfs )