Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/ salt-pi-pkg Public archive

salt-pi-pkg contains example build scripts for classic packaging of salt on Raspberry Pi OS. The Salt Project team no longer packages salt for Raspberry Pi OS, and no longer supports classic packaging due to moving toward onedir (relenv) packaging.

License

Notifications You must be signed in to change notification settings

vmware-archive/salt-pi-pkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

!!Project is Archived!!

Salt Project / VMware has ended active development of this project, this repository will no longer be updated.

salt-pi-pkg

Unsupported, unmaintained example scripts for building "classic" (non-Tiamat, non-onedir, pre-3006.x) packages on the Raspberry Pi.

Overview

Scripts exist for the following OS versions:

  • Raspbian 10 (armhf / 32-bit)
  • Raspbian 11 (armhf / 32-bit)

Suggested Raspberry Pi Node Setup

Prerequisites

For setting up the Raspberry Pi, it should be a base install of the lite/server version of Raspbian, then:

  • Add an ssh key to /home/pi/.ssh/authorized_keys
  • Disable passwords for sshd
  • Install all needed packages
sudo apt install devscripts rclone jq dh-exec reprepro git curl -y

Signing packages

The build script examples include signing the build Raspbian packages. The example scripts contain references to the following variables:

  • GPG_PRIVATE_SIGNING_KEY: Contents of a GPG key used for signing packages. Will be imported.
  • GPG_PASSPHRASE: Passphrase for the imported GPG key.
  • SIGNING_KEY_FINGERPRINT: The fingerprint reference of the imported signing key.

NOTE: These scripts are only example scripts. Based on your CI/CD setup, or availability of keys used for signing your own packages, the approach to secure handling and usage of keys/creds should be evaluated and restricted where possible.

Build & Run

Depending on OS target version, have the CI/CD run:

# Example: ./build-scripts/<os-version>.sh
# Raspbian 10
./raspi10.sh

License

Apache License Version 2.0

  • Copyright 2021-2023 VMware, Inc.
  • SPDX-License-Identifier: Apache-2

About

salt-pi-pkg contains example build scripts for classic packaging of salt on Raspberry Pi OS. The Salt Project team no longer packages salt for Raspberry Pi OS, and no longer supports classic packaging due to moving toward onedir (relenv) packaging.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages