Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated for core22-desktop #103

Open
wants to merge 1 commit into
base: 22-arm64-desktop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 43 additions & 1 deletion gadget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ volumes:
role: system-seed
filesystem: vfat
type: 0C
size: 1200M
size: 3500M

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you plan to do things like a remodel from older gadget to this one, using min-size: 1200M would keep partitions compatible and make that possible.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This gadget is published as pi-desktop, which is new. But in the future we may need to consider that if we ever need to grow beyond 3500M.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's entirely possible that we don't want a snap that's published under a different name in the source tree. The current pi-desktop snap is built/published from another repo under the canonical org. I'd like to hear what others think. Keeping it here in a branch will ease merging fixes/improvements from non-desktop branches.

content:
- source: $kernel:dtbs/dtbs/broadcom/
target: /
Expand Down Expand Up @@ -38,3 +38,45 @@ volumes:
type: 83,0FC63DAF-8483-4772-8E79-3D69D8477DE4
# XXX: make auto-grow to partition
size: 1500M

defaults:
system:
experimental.user-daemons: true
experimental.dbus-activation: true
refresh.retain: 2
service.ssh.listen-address: 127.0.0.1
swap.size: 1G

# Connect ubuntu-desktop-session
connections:
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:account-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:avahi-control
slot: dVK2PZeOLKA7vf1WPCap9F8luxTk9Oll:avahi-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:desktop-launch
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:hardware-observe
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:home
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:hostname-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:locale-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:login-session-observe
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:login-session-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:mount-observe
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:network-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:network-observe
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:polkit-agent
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:process-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:shutdown
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:snapd-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:system-observe
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:shell-config-files
slot: system:system-files
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:time-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:timeserver-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:timezone-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:upower-observe
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:network-manager
slot: RmBXKl6HO6YOC2DE4G2q1JzWImC04EUy:service
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:bluez
slot: JmzJi9kQvHUWddZ32PDJpBRXUpGRxvNS:service
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:bluetooth-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:cups-control
slot: m1eQacDdXCthEwWQrESei3Zao3d5gfJF:cups-control
5 changes: 3 additions & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: pi
name: pi-desktop
version: 22-2
summary: Raspberry Pi gadget
description: |
Support files for booting Raspberry Pi.
This gadget snap supports the Raspberry Pi 2B, 3B, 3A+, 3B+, 4B, Compute
Module 3, and the Compute Module 3+ universally.
type: gadget
base: core22
build-base: core22
base: core22-desktop
assumes: [kernel-assets]
architectures:
- build-on: [amd64, arm64]
Expand Down