diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-05-24 16:55:48 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-05-24 17:05:06 +0100 |
commit | 7339ae4d183c1eae2b9a6fda4e084af58e6e67cf (patch) | |
tree | 96e81fa487c187e0134535bb5b70e5a67d99711f /old | |
parent | f049e15fab122ebd3c2554c81b95fbf7f66bd766 (diff) | |
download | definitions-7339ae4d183c1eae2b9a6fda4e084af58e6e67cf.tar.gz |
Add deployment target for devel-system
BuildStream is soon going to gain built-in support for deploying images
so this should be considered a temporary x86_64 only hack.
It's based on instructions in the defs2bst README:
https://gitlab.com/BuildStream/defs2bst/blob/master/README.rst
Diffstat (limited to 'old')
7 files changed, 0 insertions, 101 deletions
diff --git a/old/install-files/essential-files/etc/inputrc b/old/install-files/essential-files/etc/inputrc deleted file mode 100644 index ddee44cd..00000000 --- a/old/install-files/essential-files/etc/inputrc +++ /dev/null @@ -1,38 +0,0 @@ -# Allow the command prompt to wrap to the next line -set horizontal-scroll-mode Off - -# Enable 8bit input -set meta-flag On -set input-meta On - -# Turns off 8th bit stripping -set convert-meta Off - -# Keep the 8th bit for display -set output-meta On - -# none, visible or audible -set bell-style none - -# for linux console and RH/Debian xterm -"\e[1~": beginning-of-line -"\e[4~": end-of-line -"\e[5~": beginning-of-history -"\e[6~": end-of-history -"\e[7~": beginning-of-line -"\e[3~": delete-char -"\e[2~": quoted-insert -"\e[5C": forward-word -"\e[5D": backward-word -"\e\e[C": forward-word -"\e\e[D": backward-word -"\e[1;5C": forward-word -"\e[1;5D": backward-word - -# for non RH/Debian xterm, can't hurt for RH/DEbian xterm -"\eOH": beginning-of-line -"\eOF": end-of-line - -# for Konsole and freebsd console -"\e[H": beginning-of-line -"\e[F": end-of-line diff --git a/old/install-files/essential-files/etc/os-release b/old/install-files/essential-files/etc/os-release deleted file mode 120000 index c4c75b41..00000000 --- a/old/install-files/essential-files/etc/os-release +++ /dev/null @@ -1 +0,0 @@ -../usr/lib/os-release
\ No newline at end of file diff --git a/old/install-files/essential-files/etc/profile b/old/install-files/essential-files/etc/profile deleted file mode 100644 index 5c0a1331..00000000 --- a/old/install-files/essential-files/etc/profile +++ /dev/null @@ -1,13 +0,0 @@ -# /etc/profile - -# Set our default path -PATH="/usr/local/bin:/usr/bin" -export PATH - -# Source global bash config -if test "$PS1" && test "$BASH" && test -r /etc/bash.bashrc; then - . /etc/bash.bashrc -fi - -# Set default pager to less -export MANPAGER='less -R' diff --git a/old/install-files/essential-files/manifest b/old/install-files/essential-files/manifest deleted file mode 100644 index 93095d86..00000000 --- a/old/install-files/essential-files/manifest +++ /dev/null @@ -1,11 +0,0 @@ -0040755 0 0 /etc -overwrite 0120000 0 0 /etc/os-release -overwrite 0100644 0 0 /etc/profile -overwrite 0100644 0 0 /etc/inputrc -0040755 0 0 /usr -0040755 0 0 /usr/bin -0100755 0 0 /usr/bin/brpaste -0040755 0 0 /usr/lib -0100644 0 0 /usr/lib/os-release -0040755 0 0 /usr/lib/tmpfiles.d -0100644 0 0 /usr/lib/tmpfiles.d/shutdownramfs.conf diff --git a/old/install-files/essential-files/usr/bin/brpaste b/old/install-files/essential-files/usr/bin/brpaste deleted file mode 100644 index d2f9d867..00000000 --- a/old/install-files/essential-files/usr/bin/brpaste +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env python3 - -import urllib.request -import os -import json - -URL = 'http://paste.baserock.org/documents' - -def run(*args): - if args: - content = [open(x).read() for x in args] - extensions = [os.path.splitext(x)[1] for x in args] - else: - content = [sys.stdin.read()] - extensions = [None] - - for i, each in enumerate(content): - req = urllib.request.Request(URL, each.encode('utf-8')) - response = urllib.request.urlopen(req) - the_page = response.read().decode('utf-8') - key = json.loads(the_page)['key'] - url = "http://paste.baserock.org/%s" % key - if extensions[i]: - url += extensions[i] - print(url) - -if __name__ == '__main__': - import sys - sys.exit(run(*sys.argv[1:])) diff --git a/old/install-files/essential-files/usr/lib/os-release b/old/install-files/essential-files/usr/lib/os-release deleted file mode 100644 index b729c75f..00000000 --- a/old/install-files/essential-files/usr/lib/os-release +++ /dev/null @@ -1,5 +0,0 @@ -NAME="Baserock" -ID=baserock -HOME_URL="http://wiki.baserock.org" -SUPPORT_URL="http://wiki.baserock.org/mailinglist" -BUG_REPORT_URL="http://wiki.baserock.org/mailinglist" diff --git a/old/install-files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf b/old/install-files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf deleted file mode 100644 index 174f1f03..00000000 --- a/old/install-files/essential-files/usr/lib/tmpfiles.d/shutdownramfs.conf +++ /dev/null @@ -1,4 +0,0 @@ -# If /usr/lib/shutdownramfs has been populated, copy it into /run/initramfs so -# /run/initramfs/shutdown will be executed on shut-down, so that it may unmount -# the rootfs. -C /run/initramfs - - - - /usr/lib/shutdownramfs |