Skip to content

Instantly share code, notes, and snippets.

View dbouras's full-sized avatar

Dimitri Bouras dbouras

View GitHub Profile
@dbouras
dbouras / AWS VPN with NetworkManager & netconfig.md
Last active April 12, 2024 15:33
Add support to AWS VPN for distributions (such as OpenSUSE) that use NetworkManager/netconfig for configuring DNS resolution

After installing AWS VPN client from: client-vpn-connect-linux-install, replace:

   /opt/awsvpnclient/Service/Resources/openvpn/configure-dns

with the modified configure-dns script below. If you would like to to review the modifications, see file configure-dns.patch.

@dbouras
dbouras / example_swupdate_recipe.bb
Last active April 13, 2022 16:55
Patching local files before they're added into a SWU CPIO archive
# Copyright (C) 2022 Dimitri Bouras <dimitrios.bouras@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "Example for patching recipe-specific scripts at package build-time"
SECTION = ""
PV = "1.0"
PR = "r0"
# Note: sw-description is mandatory
SRC_URI_example-imx6ul = "file://sw-description \