stulluk / core22

Base snap for UbuntuCore v22

Home Page:https://ubuntu.com/core/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Core22 snap for snapd & Ubuntu Core

This is a base snap for snapd & Ubuntu Core that is based on Ubuntu 22.04

TODO: Not 22.04 actually yet, it will first build with impish rootfs and then we will switch to JJ when rootfs released.

Building locally

To build this snap locally you need snapcraft. The project must be built as real root.

$ sudo snapcraft

Writing code

The usual way to add functionality is to write a shell script hook with the .chroot extenstion under the hooks/ directory. These hooks are run inside the base image filesystem.

Each hook should have a matching .test file in the hook-tests directory. Those tests files are run relative to the base image filesystem and should validates that the coresponding .chroot file worked as expected.

The .test scripts will be run after building with snapcraft or when doing a manual "make test" in the source tree.

About

Base snap for UbuntuCore v22

https://ubuntu.com/core/docs


Languages

Language:Shell 94.2%Language:Makefile 5.8%