I hereby claim:
- I am erauer on github.
- I am erauer (https://keybase.io/erauer) on keybase.
- I have a public key ASDM0TFMMxO-Rxrihkz6ixK1a2mmmFFHr0bsfuhYlvBHLAo
To claim this, I am signing this object:
| name: CI/CD Elixir | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| env: |
| # Flake for building nerves system | |
| # Use `nix develop .` for regular Nerves builds | |
| # Use `nix develop .#fhs` for Nerves System builds | |
| { | |
| inputs = { | |
| nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
| flake-utils.url = "github:numtide/flake-utils"; | |
| }; | |
| outputs = { self, nixpkgs, flake-utils }: |
| # Flake for building nerves system | |
| # Use `nix develop .` for regular Nerves builds | |
| # Use `nix develop .#fhs` for Nerves System builds | |
| { | |
| inputs = { | |
| nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
| flake-utils.url = "github:numtide/flake-utils"; | |
| }; | |
| outputs = { self, nixpkgs, flake-utils }: |
| { | |
| description = "Nerves build environment"; | |
| inputs = { | |
| nixpkgs = { url = "github:NixOS/nixpkgs/nixos-22.11"; }; | |
| flake-utils = { url = "github:numtide/flake-utils"; }; | |
| }; | |
| outputs = { self, nixpkgs, flake-utils }: | |
| flake-utils.lib.eachDefaultSystem (system: |
| # | |
| # Code contained in this function is under copyright as follows | |
| # | |
| # Copyright Ericsson AB 2008-2018. All Rights Reserved | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # | |
| defp pkix_sign(tbs_cert, key) do | |
| sa = otp_tbs_certificate(tbs_cert, :signature) | |
| sig_alg = signature_algorithm(sa, :algorithm) |
I hereby claim:
To claim this, I am signing this object:
| # Open encyryped filesystem | |
| cryptsetup open --type luks /dev/nbme0n1p6 vg0 | |
| # Mount the filesytem | |
| mount /dev/mapper/vg0-root /mnt # /mnt is the installed system | |
| swapon /dev/mapper/vg0-swap # Not needed but a good thing to test | |
| mkdir /mnt/boot | |
| mount /dev/nvme0n1p5 /mnt/boot | |
| mkdir /mnt/boot/efi | |
| mount /dev/nvme0n1p1 /mnt/boot/efi |
I hereby claim:
To claim this, I am signing this object:
| add bluez patches to Nerves system from https://github.com/raspberrypi/linux/issues/1314 | |
| patches/bluez5_utils/0001-bcm43xx-Add-bcm43xx-3wire-variant.patch | |
| patches/bluez5_utils/0002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch | |
| patches/bluez5_utils/0003-Increase-firmware-load-timeout-to-30s.patch | |
| patches/bluez5_utils/0004-Move-the-43xx-firmware-into-lib-firmware.patch | |
| update nerves_defconfig to include bluez and patches: | |
| -BR2_GLOBAL_PATCH_DIR="${BR2_EXTERNAL_NERVES_PATH}/patches" | |
| +BR2_GLOBAL_PATCH_DIR="${BR2_EXTERNAL_NERVES_PATH}/patches ${NERVES_DEFCONFIG_DIR}/patches" |
| require 'chefspec' | |
| describe 'my_cookbook::default' do | |
| let(:chef_run) { ChefSpec::ChefRunner.new(platform:'ubuntu', version:'12.04') } | |
| it 'creates a greetings file, containing the platform name' do | |
| chef_run.converge(described_recipe) | |
| expect(chef_run).to create_file_with_content('/tmp/greeting.txt','Hello! ubuntu!') | |
| end |