Compare commits
No commits in common. "main" and "kinetic" have entirely different histories.
1
.github/build-canary-i386
vendored
1
.github/build-canary-i386
vendored
@ -1 +0,0 @@
|
|||||||
1
|
|
1
.github/build-canary-v3
vendored
1
.github/build-canary-v3
vendored
@ -1 +0,0 @@
|
|||||||
1
|
|
1
.github/build-nest-i386
vendored
1
.github/build-nest-i386
vendored
@ -1 +0,0 @@
|
|||||||
1
|
|
1
.github/build-nest-v3
vendored
1
.github/build-nest-v3
vendored
@ -1 +0,0 @@
|
|||||||
1
|
|
1
.github/release-canary-i386
vendored
1
.github/release-canary-i386
vendored
@ -1 +0,0 @@
|
|||||||
1
|
|
1
.github/release-canary-v3
vendored
1
.github/release-canary-v3
vendored
@ -1 +0,0 @@
|
|||||||
5
|
|
1
.github/release-nest-i386
vendored
1
.github/release-nest-i386
vendored
@ -1 +0,0 @@
|
|||||||
2
|
|
1
.github/release-nest-v3
vendored
1
.github/release-nest-v3
vendored
@ -1 +0,0 @@
|
|||||||
2
|
|
37
.github/workflows/build-canaryi386.yml
vendored
37
.github/workflows/build-canaryi386.yml
vendored
@ -1,37 +0,0 @@
|
|||||||
name: PikaOS Package Build Only (Canary) (i386)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- '.github/build-canary-i386'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/pikaos-linux/pikaos-builder:canaryi386
|
|
||||||
volumes:
|
|
||||||
- /proc:/proc
|
|
||||||
options: --privileged -it
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install SSH key
|
|
||||||
uses: shimataro/ssh-key-action@v2
|
|
||||||
with:
|
|
||||||
key: ${{ secrets.SSH_KEY }}
|
|
||||||
name: id_rsa
|
|
||||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
|
||||||
if_key_exists: replace
|
|
||||||
|
|
||||||
- name: Update APT Cache
|
|
||||||
run: apt-get update -y
|
|
||||||
|
|
||||||
- name: Set Build Config
|
|
||||||
run: cp -vf ./pika-build-config/i386.sh ./pika-build-config.sh
|
|
||||||
|
|
||||||
- name: Build Package
|
|
||||||
run: ./main.sh
|
|
37
.github/workflows/build-canaryv3.yml
vendored
37
.github/workflows/build-canaryv3.yml
vendored
@ -1,37 +0,0 @@
|
|||||||
name: PikaOS Package Build Only (Canary) (amd64-v3)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- '.github/build-canary-v3'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
|
|
||||||
volumes:
|
|
||||||
- /proc:/proc
|
|
||||||
options: --privileged -it
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install SSH key
|
|
||||||
uses: shimataro/ssh-key-action@v2
|
|
||||||
with:
|
|
||||||
key: ${{ secrets.SSH_KEY }}
|
|
||||||
name: id_rsa
|
|
||||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
|
||||||
if_key_exists: replace
|
|
||||||
|
|
||||||
- name: Update APT Cache
|
|
||||||
run: apt-get update -y
|
|
||||||
|
|
||||||
- name: Set Build Config
|
|
||||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
|
||||||
|
|
||||||
- name: Build Package
|
|
||||||
run: ./main.sh
|
|
37
.github/workflows/build-nesti386.yml
vendored
37
.github/workflows/build-nesti386.yml
vendored
@ -1,37 +0,0 @@
|
|||||||
name: PikaOS Package Build Only (i386)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- '.github/build-nest-i386'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/pikaos-linux/pikaos-builder:nesti386
|
|
||||||
volumes:
|
|
||||||
- /proc:/proc
|
|
||||||
options: --privileged -it
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install SSH key
|
|
||||||
uses: shimataro/ssh-key-action@v2
|
|
||||||
with:
|
|
||||||
key: ${{ secrets.SSH_KEY }}
|
|
||||||
name: id_rsa
|
|
||||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
|
||||||
if_key_exists: replace
|
|
||||||
|
|
||||||
- name: Update APT Cache
|
|
||||||
run: apt-get update -y
|
|
||||||
|
|
||||||
- name: Set Build Config
|
|
||||||
run: cp -vf ./pika-build-config/i386.sh ./pika-build-config.sh
|
|
||||||
|
|
||||||
- name: Build Package
|
|
||||||
run: ./main.sh
|
|
37
.github/workflows/build-nestv3.yml
vendored
37
.github/workflows/build-nestv3.yml
vendored
@ -1,37 +0,0 @@
|
|||||||
name: PikaOS Package Build Only (amd64-v3)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- '.github/build-nest-v3'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
|
|
||||||
volumes:
|
|
||||||
- /proc:/proc
|
|
||||||
options: --privileged -it
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install SSH key
|
|
||||||
uses: shimataro/ssh-key-action@v2
|
|
||||||
with:
|
|
||||||
key: ${{ secrets.SSH_KEY }}
|
|
||||||
name: id_rsa
|
|
||||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
|
||||||
if_key_exists: replace
|
|
||||||
|
|
||||||
- name: Update APT Cache
|
|
||||||
run: apt-get update -y
|
|
||||||
|
|
||||||
- name: Set Build Config
|
|
||||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
|
||||||
|
|
||||||
- name: Build Package
|
|
||||||
run: ./main.sh
|
|
40
.github/workflows/release-canaryi386.yml
vendored
40
.github/workflows/release-canaryi386.yml
vendored
@ -1,40 +0,0 @@
|
|||||||
name: PikaOS Package Build & Release (Canary) (i386)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- '.github/release-canary-i386'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/pikaos-linux/pikaos-builder:canaryi386
|
|
||||||
volumes:
|
|
||||||
- /proc:/proc
|
|
||||||
options: --privileged -it
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install SSH key
|
|
||||||
uses: shimataro/ssh-key-action@v2
|
|
||||||
with:
|
|
||||||
key: ${{ secrets.SSH_KEY }}
|
|
||||||
name: id_rsa
|
|
||||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
|
||||||
if_key_exists: replace
|
|
||||||
|
|
||||||
- name: Update APT Cache
|
|
||||||
run: apt-get update -y
|
|
||||||
|
|
||||||
- name: Set Build Config
|
|
||||||
run: cp -vf ./pika-build-config/i386.sh ./pika-build-config.sh
|
|
||||||
|
|
||||||
- name: Build Package
|
|
||||||
run: ./main.sh
|
|
||||||
|
|
||||||
- name: Release Package
|
|
||||||
run: ./release.sh
|
|
40
.github/workflows/release-canaryv3.yml
vendored
40
.github/workflows/release-canaryv3.yml
vendored
@ -1,40 +0,0 @@
|
|||||||
name: PikaOS Package Build & Release (Canary) (amd64-v3)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- '.github/release-canary-v3'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
|
|
||||||
volumes:
|
|
||||||
- /proc:/proc
|
|
||||||
options: --privileged -it
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install SSH key
|
|
||||||
uses: shimataro/ssh-key-action@v2
|
|
||||||
with:
|
|
||||||
key: ${{ secrets.SSH_KEY }}
|
|
||||||
name: id_rsa
|
|
||||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
|
||||||
if_key_exists: replace
|
|
||||||
|
|
||||||
- name: Update APT Cache
|
|
||||||
run: apt-get update -y
|
|
||||||
|
|
||||||
- name: Set Build Config
|
|
||||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
|
||||||
|
|
||||||
- name: Build Package
|
|
||||||
run: ./main.sh
|
|
||||||
|
|
||||||
- name: Release Package
|
|
||||||
run: ./release.sh
|
|
40
.github/workflows/release-nesti386.yml
vendored
40
.github/workflows/release-nesti386.yml
vendored
@ -1,40 +0,0 @@
|
|||||||
name: PikaOS Package Build & Release (i386)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- '.github/release-nest-i386'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/pikaos-linux/pikaos-builder:nesti386
|
|
||||||
volumes:
|
|
||||||
- /proc:/proc
|
|
||||||
options: --privileged -it
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install SSH key
|
|
||||||
uses: shimataro/ssh-key-action@v2
|
|
||||||
with:
|
|
||||||
key: ${{ secrets.SSH_KEY }}
|
|
||||||
name: id_rsa
|
|
||||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
|
||||||
if_key_exists: replace
|
|
||||||
|
|
||||||
- name: Update APT Cache
|
|
||||||
run: apt-get update -y
|
|
||||||
|
|
||||||
- name: Set Build Config
|
|
||||||
run: cp -vf ./pika-build-config/i386.sh ./pika-build-config.sh
|
|
||||||
|
|
||||||
- name: Build Package
|
|
||||||
run: ./main.sh
|
|
||||||
|
|
||||||
- name: Release Package
|
|
||||||
run: ./release.sh
|
|
40
.github/workflows/release-nestv3.yml
vendored
40
.github/workflows/release-nestv3.yml
vendored
@ -1,40 +0,0 @@
|
|||||||
name: PikaOS Package Build & Release (amd64-v3)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- '.github/release-nest-v3'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
|
|
||||||
volumes:
|
|
||||||
- /proc:/proc
|
|
||||||
options: --privileged -it
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install SSH key
|
|
||||||
uses: shimataro/ssh-key-action@v2
|
|
||||||
with:
|
|
||||||
key: ${{ secrets.SSH_KEY }}
|
|
||||||
name: id_rsa
|
|
||||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
|
||||||
if_key_exists: replace
|
|
||||||
|
|
||||||
- name: Update APT Cache
|
|
||||||
run: apt-get update -y
|
|
||||||
|
|
||||||
- name: Set Build Config
|
|
||||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
|
||||||
|
|
||||||
- name: Build Package
|
|
||||||
run: ./main.sh
|
|
||||||
|
|
||||||
- name: Release Package
|
|
||||||
run: ./release.sh
|
|
40
.github/workflows/release.yml
vendored
Normal file
40
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
name: PikaOS Package Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: self-hosted
|
||||||
|
container:
|
||||||
|
image: ubuntu:22.10
|
||||||
|
volumes:
|
||||||
|
- /proc:/proc
|
||||||
|
options: --privileged -it
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install needed packages
|
||||||
|
run: apt update && apt install software-properties-common sudo git bc gpg gpg-agent bison build-essential ccache cpio fakeroot flex git kmod libelf-dev libncurses5-dev libssl-dev lz4 qtbase5-dev rsync schedtool wget zstd tar reprepro dpkg-sig devscripts dh-make -y
|
||||||
|
|
||||||
|
- name: Import GPG key
|
||||||
|
id: import_gpg
|
||||||
|
uses: crazy-max/ghaction-import-gpg@v5
|
||||||
|
with:
|
||||||
|
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||||
|
passphrase: ${{ secrets.PASSPHRASE }}
|
||||||
|
|
||||||
|
- name: Install SSH key
|
||||||
|
uses: shimataro/ssh-key-action@v2
|
||||||
|
with:
|
||||||
|
key: ${{ secrets.SSH_KEY }}
|
||||||
|
name: id_rsa
|
||||||
|
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||||
|
if_key_exists: replace
|
||||||
|
|
||||||
|
- name: Build Package
|
||||||
|
run: ./main.sh
|
||||||
|
|
||||||
|
- name: Release Package
|
||||||
|
run: ./release.sh
|
40
.github/workflows/release_i386.yml
vendored
Normal file
40
.github/workflows/release_i386.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
name: PikaOS Package Release (i386)
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: self-hosted
|
||||||
|
container:
|
||||||
|
image: ubuntu:22.10
|
||||||
|
volumes:
|
||||||
|
- /proc:/proc
|
||||||
|
options: --privileged -it
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install needed packages
|
||||||
|
run: apt update && apt install software-properties-common sudo git bc gpg gpg-agent bison build-essential ccache cpio fakeroot flex git kmod libelf-dev libncurses5-dev libssl-dev lz4 qtbase5-dev rsync schedtool wget zstd tar reprepro dpkg-sig devscripts dh-make -y
|
||||||
|
|
||||||
|
- name: Import GPG key
|
||||||
|
id: import_gpg
|
||||||
|
uses: crazy-max/ghaction-import-gpg@v5
|
||||||
|
with:
|
||||||
|
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||||
|
passphrase: ${{ secrets.PASSPHRASE }}
|
||||||
|
|
||||||
|
- name: Install SSH key
|
||||||
|
uses: shimataro/ssh-key-action@v2
|
||||||
|
with:
|
||||||
|
key: ${{ secrets.SSH_KEY }}
|
||||||
|
name: id_rsa
|
||||||
|
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||||
|
if_key_exists: replace
|
||||||
|
|
||||||
|
- name: Build Package
|
||||||
|
run: ./main32.sh
|
||||||
|
|
||||||
|
- name: Release Package
|
||||||
|
run: ./release.sh
|
24
LICENSE.md
24
LICENSE.md
@ -1,24 +0,0 @@
|
|||||||
MIT License (With DPKG packaging compatibility)
|
|
||||||
|
|
||||||
Copyright (c) 2024 PikaOS
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
|
|
||||||
Notes:
|
|
||||||
The files covered by this license are any files and directories in the root of this repository (including but not limited to: `main.sh`, `release.sh`, and `.github`), with the exception of the `debian` directory and its contents if `debian/copyright` exists, and declares any files or directories as a different LICENSE/COPYRIGHT.
|
|
@ -1,9 +0,0 @@
|
|||||||
base-files (13.2) unstable; urgency=medium
|
|
||||||
|
|
||||||
By default, snippets for Bourne and Bourne-compatible shells (*.sh)
|
|
||||||
in /etc/profile.d will only be sourced by /etc/profile if they
|
|
||||||
conform to a sensible regexp including only some ASCII characters,
|
|
||||||
as it already happens with cron entries and the like. Previously,
|
|
||||||
the behaviour was not really well defined.
|
|
||||||
|
|
||||||
-- Santiago Vila <sanvila@debian.org> Fri, 03 May 2024 18:04:00 +0200
|
|
@ -1,35 +0,0 @@
|
|||||||
#
|
|
||||||
# Permissions 0700 on /root are intentional as people expect
|
|
||||||
# the /root directory to be more private than /home/* directories.
|
|
||||||
#
|
|
||||||
base-files: non-standard-dir-perm 0700 != 0755 [root/]
|
|
||||||
#
|
|
||||||
# The /etc/os-release symlink is relative on purpose to avoid breaking dracut.
|
|
||||||
# See Bug #755394 for details.
|
|
||||||
#
|
|
||||||
base-files: relative-symlink ../usr/lib/os-release [etc/os-release]
|
|
||||||
#
|
|
||||||
# The purpose of having licenses here is precisely to allow
|
|
||||||
# other packages to reference them.
|
|
||||||
#
|
|
||||||
base-files: extra-license-file [usr/share/common-licenses/Artistic]
|
|
||||||
base-files: extra-license-file [usr/share/common-licenses/BSD]
|
|
||||||
base-files: extra-license-file [usr/share/common-licenses/GPL-1]
|
|
||||||
base-files: extra-license-file [usr/share/common-licenses/GPL-2]
|
|
||||||
base-files: extra-license-file [usr/share/common-licenses/GPL-3]
|
|
||||||
base-files: extra-license-file [usr/share/common-licenses/LGPL-2]
|
|
||||||
base-files: extra-license-file [usr/share/common-licenses/LGPL-2.1]
|
|
||||||
base-files: extra-license-file [usr/share/common-licenses/LGPL-3]
|
|
||||||
#
|
|
||||||
# These links really should be relative.
|
|
||||||
#
|
|
||||||
base-files: relative-symlink usr/bin [bin]
|
|
||||||
base-files: relative-symlink usr/lib [lib]
|
|
||||||
base-files: relative-symlink usr/lib64 [lib64]
|
|
||||||
base-files: relative-symlink usr/libx32 [libx32]
|
|
||||||
base-files: relative-symlink usr/sbin [sbin]
|
|
||||||
#
|
|
||||||
# We need these for the relevant architectures.
|
|
||||||
#
|
|
||||||
base-files: non-multi-arch-lib-dir [usr/lib64/]
|
|
||||||
base-files: non-multi-arch-lib-dir [usr/libx32/]
|
|
File diff suppressed because it is too large
Load Diff
@ -1 +0,0 @@
|
|||||||
debian/triggers
|
|
@ -1,23 +0,0 @@
|
|||||||
Source: base-files
|
|
||||||
Section: admin
|
|
||||||
Priority: required
|
|
||||||
Maintainer: Santiago Vila <sanvila@debian.org>
|
|
||||||
Standards-Version: 4.6.2
|
|
||||||
Build-Depends: debhelper-compat (= 13), debhelper (>= 13.10~)
|
|
||||||
Rules-Requires-Root: binary-targets
|
|
||||||
|
|
||||||
Package: base-files
|
|
||||||
Provides: base, usr-is-merged
|
|
||||||
Architecture: any
|
|
||||||
Pre-Depends: awk
|
|
||||||
Depends: ${misc:Depends}
|
|
||||||
Essential: yes
|
|
||||||
Priority: required
|
|
||||||
Replaces: base, miscutils, dpkg (<= 1.15.0)
|
|
||||||
Breaks: debian-security-support (<< 2019.04.25), initscripts (<< 2.88dsf-13.3), sendfile (<< 2.1b.20080616-5.2~)
|
|
||||||
Multi-Arch: foreign
|
|
||||||
Description: Debian base system miscellaneous files
|
|
||||||
This package contains the basic filesystem hierarchy of a Debian system, and
|
|
||||||
several important miscellaneous files, such as /etc/debian_version,
|
|
||||||
/etc/host.conf, /etc/issue, /etc/motd, /etc/profile, and others,
|
|
||||||
and the text of several common licenses in use on Debian systems.
|
|
@ -1,37 +0,0 @@
|
|||||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
|
||||||
Comment:
|
|
||||||
This is the Debian prepackaged version of the Debian Base System
|
|
||||||
Miscellaneous files. These files were written by Ian Murdock
|
|
||||||
<imurdock@debian.org> and Bruce Perens <bruce@pixar.com>.
|
|
||||||
.
|
|
||||||
This package was first put together by Bruce Perens <Bruce@Pixar.com>,
|
|
||||||
from his own sources.
|
|
||||||
|
|
||||||
Files: *
|
|
||||||
Copyright: (C) 1995-2011 Software in the Public Interest
|
|
||||||
License: GPL-2+
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
.
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
.
|
|
||||||
On Debian systems, the complete text of the GNU General
|
|
||||||
Public License can be found in `/usr/share/common-licenses/GPL'.
|
|
||||||
Comment:
|
|
||||||
The Artistic License in /usr/share/common-licenses is the one coming
|
|
||||||
from Perl and its SPDX name is "Artistic License 1.0 (Perl)".
|
|
||||||
|
|
||||||
Files: licenses/GFDL-*
|
|
||||||
licenses/GPL-*
|
|
||||||
licenses/LGPL-*
|
|
||||||
Copyright: 1989-2008 Free Software Foundation, Inc.
|
|
||||||
License: verbatim
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
Comment:
|
|
||||||
The GNU licenses in /usr/share/common-licenses were taken from ftp.gnu.org.
|
|
@ -1,4 +0,0 @@
|
|||||||
[DEFAULT]
|
|
||||||
upstream-branch = master
|
|
||||||
debian-branch = master
|
|
||||||
debian-tag = %(version)s
|
|
@ -1,11 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [ "$1" = "remove" ]; then
|
|
||||||
for d in #USR_MERGE_MULTILIB#; do
|
|
||||||
# Remove DEP17 M4 protective diversions
|
|
||||||
dpkg-divert --quiet --package base-files --remove --no-rename --divert "/.$d.usr-is-merged" "/$d"
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
#DEBHELPER#
|
|
@ -1,32 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then
|
|
||||||
for d in bin lib lib32 lib64 libo32 lib64 sbin; do
|
|
||||||
if [ -d "$DPKG_ROOT/$d" ] && [ ! -L "$DPKG_ROOT/$d" ]; then
|
|
||||||
cat <<EOF
|
|
||||||
|
|
||||||
|
|
||||||
******************************************************************************
|
|
||||||
*
|
|
||||||
* The base-files package cannot be installed because this system has a
|
|
||||||
* split /usr.
|
|
||||||
*
|
|
||||||
* Please install the usrmerge package to convert this system to merged-/usr.
|
|
||||||
*
|
|
||||||
* For more information please read https://wiki.debian.org/UsrMerge.
|
|
||||||
*
|
|
||||||
******************************************************************************
|
|
||||||
|
|
||||||
|
|
||||||
EOF
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
for d in #USR_MERGE_MULTILIB#; do
|
|
||||||
# Install DEP17 M4 protective diversions
|
|
||||||
dpkg-divert --quiet --package base-files --add --no-rename --divert "/.$d.usr-is-merged" "/$d"
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
#DEBHELPER#
|
|
@ -1 +0,0 @@
|
|||||||
3.0 (quilt)
|
|
@ -1,21 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
set -e
|
|
||||||
BUILD_DATE=$(dpkg-parsechangelog -S Date)
|
|
||||||
touch -d "${BUILD_DATE}" etc/*
|
|
||||||
touch -d "${BUILD_DATE}" motd/*
|
|
||||||
touch -d "${BUILD_DATE}" origins/*
|
|
||||||
touch -d "${BUILD_DATE}" share/*
|
|
||||||
touch -d "1996-12-16 02:58:50 UTC" licenses/Artistic
|
|
||||||
touch -d "1999-08-26 12:06:20 UTC" licenses/BSD
|
|
||||||
touch -d "2004-12-19 20:30:25 UTC" licenses/Apache-2.0
|
|
||||||
touch -d "2010-03-23 23:34:05 UTC" licenses/GPL-1
|
|
||||||
touch -d "2010-03-23 23:34:05 UTC" licenses/GPL-2
|
|
||||||
touch -d "2010-03-23 23:34:05 UTC" licenses/LGPL-2.1
|
|
||||||
touch -d "2017-04-03 11:00:00 UTC" licenses/MPL-1.1
|
|
||||||
touch -d "2017-04-03 20:00:00 UTC" licenses/MPL-2.0
|
|
||||||
touch -d "2017-04-25 22:26:15 UTC" licenses/CC0-1.0
|
|
||||||
touch -d "2017-09-30 07:14:21 UTC" licenses/GPL-3
|
|
||||||
touch -d "2017-09-30 07:14:21 UTC" licenses/LGPL-3
|
|
||||||
touch -d "2017-09-30 07:15:28 UTC" licenses/GFDL-1.2
|
|
||||||
touch -d "2022-02-10 06:14:38 UTC" licenses/GFDL-1.3
|
|
||||||
touch -d "2022-02-10 06:14:38 UTC" licenses/LGPL-2
|
|
@ -1 +0,0 @@
|
|||||||
trixie/sid
|
|
@ -1 +0,0 @@
|
|||||||
multi on
|
|
@ -1,2 +0,0 @@
|
|||||||
PikaOS 4 \n \l
|
|
||||||
|
|
@ -1 +0,0 @@
|
|||||||
PikaOS 4
|
|
@ -1,13 +0,0 @@
|
|||||||
PRETTY_NAME="PikaOS 4"
|
|
||||||
NAME="PikaOS"
|
|
||||||
VERSION_ID="4"
|
|
||||||
VERSION="4"
|
|
||||||
VERSION_CODENAME=nest
|
|
||||||
ID=pika
|
|
||||||
HOME_URL="https://www.pika-os.com/"
|
|
||||||
SUPPORT_URL="https://discord.gg/6HKR2YRvNg"
|
|
||||||
BUG_REPORT_URL="https://git.pika-os.com/"
|
|
||||||
PRIVACY_POLICY_URL="https://www.pika-os.com/"
|
|
||||||
ID_LIKE=debian
|
|
||||||
DEBIAN_CODENAME=sid
|
|
||||||
LOGO=pika-logo
|
|
@ -1,2 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
uname -snrvm
|
|
@ -1,3 +0,0 @@
|
|||||||
Vendor: PikaOS
|
|
||||||
Vendor-URL: https://ppa.pika-os.com/
|
|
||||||
Bugs: https://git.pika-os.com/
|
|
@ -1,19 +0,0 @@
|
|||||||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
|
||||||
|
|
||||||
# Note: PS1 is set in /etc/profile, and the default umask is defined
|
|
||||||
# in /etc/login.defs. You should not need this unless you want different
|
|
||||||
# defaults for root.
|
|
||||||
# PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ '
|
|
||||||
# umask 022
|
|
||||||
|
|
||||||
# You may uncomment the following lines if you want `ls' to be colorized:
|
|
||||||
# export LS_OPTIONS='--color=auto'
|
|
||||||
# eval "$(dircolors)"
|
|
||||||
# alias ls='ls $LS_OPTIONS'
|
|
||||||
# alias ll='ls $LS_OPTIONS -l'
|
|
||||||
# alias l='ls $LS_OPTIONS -lA'
|
|
||||||
#
|
|
||||||
# Some more alias to avoid making mistakes:
|
|
||||||
# alias rm='rm -i'
|
|
||||||
# alias cp='cp -i'
|
|
||||||
# alias mv='mv -i'
|
|
@ -4,10 +4,10 @@ Frequently Asked Questions about base-files
|
|||||||
* Questions about /etc/issue and /etc/debian_version:
|
* Questions about /etc/issue and /etc/debian_version:
|
||||||
|
|
||||||
Q. I upgraded my system to the testing distribution and now my /etc/issue
|
Q. I upgraded my system to the testing distribution and now my /etc/issue
|
||||||
says "trixie/sid". Should it not read "trixie" or "testing"?
|
says "bookworm/sid". Should it not read "bookworm" or "testing"?
|
||||||
|
|
||||||
Q. I upgraded my system to the unstable distribution and now my /etc/issue
|
Q. I upgraded my system to the unstable distribution and now my /etc/issue
|
||||||
says "trixie/sid". Should it not read "sid" or "unstable"?
|
says "bookworm/sid". Should it not read "sid" or "unstable"?
|
||||||
|
|
||||||
A. That would be nice, but it is not possible because of the way the
|
A. That would be nice, but it is not possible because of the way the
|
||||||
testing distribution works. Packages uploaded for unstable reach
|
testing distribution works. Packages uploaded for unstable reach
|
||||||
@ -17,9 +17,9 @@ testing. You should consider the testing and unstable distributions as
|
|||||||
two sides of the same coin. Since the base-files package in testing
|
two sides of the same coin. Since the base-files package in testing
|
||||||
was initially uploaded for unstable, the only sensible /etc/issue to
|
was initially uploaded for unstable, the only sensible /etc/issue to
|
||||||
have is one that is both valid for testing and unstable, hence
|
have is one that is both valid for testing and unstable, hence
|
||||||
"trixie/sid" (or whatever is appropriate).
|
"bookworm/sid" (or whatever is appropriate).
|
||||||
|
|
||||||
Q. Why "trixie/sid" and not "testing/unstable" as it used to be?
|
Q. Why "bookworm/sid" and not "testing/unstable" as it used to be?
|
||||||
|
|
||||||
A. The codename is a little bit more informative, as the meaning of
|
A. The codename is a little bit more informative, as the meaning of
|
||||||
"testing" changes over time.
|
"testing" changes over time.
|
||||||
@ -95,12 +95,5 @@ freedom to remove those directories without them being created again
|
|||||||
when base-files is upgraded. Therefore, if you are running any sort of
|
when base-files is upgraded. Therefore, if you are running any sort of
|
||||||
compliance tests, you should do it on newly installed systems only.
|
compliance tests, you should do it on newly installed systems only.
|
||||||
|
|
||||||
Q. My system (when I do "dpkg -s base-files") shows /etc/profile as
|
|
||||||
an "obsolete conffile". Is this ok?
|
|
||||||
|
|
||||||
A. Yes. The file was handled by base-files as a conffile in the dpkg sense
|
|
||||||
in the past, so dpkg may consider the file as an obsolete conffile.
|
|
||||||
There is currently not a way to tell dpkg to unregister it as a conffile
|
|
||||||
without removing it, so the best approach for now is to do nothing about it.
|
|
||||||
|
|
||||||
Santiago Vila <sanvila@debian.org>
|
Santiago Vila <sanvila@debian.org>
|
@ -1,3 +1,4 @@
|
|||||||
|
bin
|
||||||
boot
|
boot
|
||||||
dev
|
dev
|
||||||
etc
|
etc
|
||||||
@ -7,14 +8,20 @@ etc/profile.d
|
|||||||
etc/skel
|
etc/skel
|
||||||
etc/update-motd.d
|
etc/update-motd.d
|
||||||
home
|
home
|
||||||
|
lib
|
||||||
|
lib/systemd/system
|
||||||
proc
|
proc
|
||||||
root
|
root
|
||||||
run
|
run
|
||||||
|
sbin
|
||||||
sys
|
sys
|
||||||
tmp
|
tmp
|
||||||
usr
|
usr
|
||||||
|
usr/bin
|
||||||
usr/games
|
usr/games
|
||||||
usr/include
|
usr/include
|
||||||
|
usr/lib
|
||||||
|
usr/sbin
|
||||||
usr/share
|
usr/share
|
||||||
usr/share/base-files
|
usr/share/base-files
|
||||||
usr/share/common-licenses
|
usr/share/common-licenses
|
22
basefiles/debian/base-files.lintian-overrides
Normal file
22
basefiles/debian/base-files.lintian-overrides
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Permissions 0700 on /root are intentional as people expect
|
||||||
|
# the /root directory to be more private than /home/* directories.
|
||||||
|
#
|
||||||
|
base-files: non-standard-dir-perm root/ 0700 != 0755
|
||||||
|
#
|
||||||
|
# The /etc/os-release symlink is relative on purpose to avoid breaking dracut.
|
||||||
|
# See Bug #755394 for details.
|
||||||
|
#
|
||||||
|
base-files: symlink-should-be-absolute etc/os-release ../usr/lib/os-release
|
||||||
|
#
|
||||||
|
# The purpose of having licenses here is precisely to allow
|
||||||
|
# other packages to reference them.
|
||||||
|
#
|
||||||
|
base-files: extra-license-file usr/share/common-licenses/Artistic
|
||||||
|
base-files: extra-license-file usr/share/common-licenses/BSD
|
||||||
|
base-files: extra-license-file usr/share/common-licenses/GPL-1
|
||||||
|
base-files: extra-license-file usr/share/common-licenses/GPL-2
|
||||||
|
base-files: extra-license-file usr/share/common-licenses/GPL-3
|
||||||
|
base-files: extra-license-file usr/share/common-licenses/LGPL-2
|
||||||
|
base-files: extra-license-file usr/share/common-licenses/LGPL-2.1
|
||||||
|
base-files: extra-license-file usr/share/common-licenses/LGPL-3
|
1
basefiles/debian/base-files.maintscript
Normal file
1
basefiles/debian/base-files.maintscript
Normal file
@ -0,0 +1 @@
|
|||||||
|
rm_conffile /etc/default/motd-news 11ubuntu11~ base-files
|
17
basefiles/debian/changelog
Normal file
17
basefiles/debian/changelog
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
base-files (12.2ubuntu99-99pika6) kinetic; urgency=medium
|
||||||
|
|
||||||
|
* Move profile.d scripts to pika-baseos
|
||||||
|
|
||||||
|
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 15 Oct 2022 20:50:00 +0300
|
||||||
|
|
||||||
|
base-files (12.99pika2) kinetic; urgency=medium
|
||||||
|
|
||||||
|
* Fix Icons sizes
|
||||||
|
|
||||||
|
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 15 Oct 2022 20:50:00 +0300
|
||||||
|
|
||||||
|
base-files (12.99pika1) kinetic; urgency=medium
|
||||||
|
|
||||||
|
* PikaOS rebranding
|
||||||
|
|
||||||
|
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 15 Oct 2022 20:50:00 +0300
|
8
basefiles/debian/check-md5sum-etc
Normal file
8
basefiles/debian/check-md5sum-etc
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
file=$1
|
||||||
|
md5=$(md5sum share/${file} | cut -f 1 -d " ")
|
||||||
|
if ! grep -q "$md5" share/${file}.md5sums; then
|
||||||
|
echo Error: share/${file}.md5sums is incomplete.
|
||||||
|
echo Need to add "$md5" with current version.
|
||||||
|
exit 1
|
||||||
|
fi
|
3
basefiles/debian/clean
Normal file
3
basefiles/debian/clean
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
debian/postinst
|
||||||
|
debian/copyright
|
||||||
|
locale-check
|
36
basefiles/debian/control
Normal file
36
basefiles/debian/control
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Source: base-files
|
||||||
|
Section: admin
|
||||||
|
Priority: required
|
||||||
|
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
|
||||||
|
XSBC-Original-Maintainer: Santiago Vila <sanvila@debian.org>
|
||||||
|
Standards-Version: 4.1.3
|
||||||
|
Build-Depends: debhelper-compat (= 13)
|
||||||
|
|
||||||
|
Package: base-files
|
||||||
|
Provides: base
|
||||||
|
Architecture: any
|
||||||
|
Pre-Depends: awk
|
||||||
|
Depends: ${misc:Depends}, ${shlibs:Depends}, libcrypt1 (>= 1:4.4.10-10ubuntu3)
|
||||||
|
Essential: yes
|
||||||
|
Priority: required
|
||||||
|
Replaces: base, miscutils, dpkg (<= 1.15.0)
|
||||||
|
Breaks: debian-security-support (<< 2019.04.25), initscripts (<< 2.88dsf-13.3), sendfile (<< 2.1b.20080616-5.2~)
|
||||||
|
, ubuntu-server (<< 1.453)
|
||||||
|
Multi-Arch: foreign
|
||||||
|
Description: Debian base system miscellaneous files
|
||||||
|
This package contains the basic filesystem hierarchy of a Debian system, and
|
||||||
|
several important miscellaneous files, such as /etc/debian_version,
|
||||||
|
/etc/host.conf, /etc/issue, /etc/motd, /etc/profile, and others,
|
||||||
|
and the text of several common licenses in use on Debian systems.
|
||||||
|
|
||||||
|
Package: motd-news-config
|
||||||
|
Architecture: all
|
||||||
|
Priority: optional
|
||||||
|
Breaks: base-files (<< 11ubuntu11)
|
||||||
|
Replaces: base-files (<< 11ubuntu11)
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Description: Configuration for motd-news shipped in base-files
|
||||||
|
This package contains the configuration read by the motd-news script
|
||||||
|
shipped in the base-files package.
|
||||||
|
.
|
||||||
|
Install this package if you want motd-news to be enabled.
|
28
basefiles/debian/copyright.in
Normal file
28
basefiles/debian/copyright.in
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
This is the Debian #OSNAME# prepackaged version of the Debian Base System
|
||||||
|
Miscellaneous files. These files were written by Ian Murdock
|
||||||
|
<imurdock@debian.org> and Bruce Perens <bruce@pixar.com>.
|
||||||
|
|
||||||
|
This package was first put together by Bruce Perens <Bruce@Pixar.com>,
|
||||||
|
from his own sources.
|
||||||
|
|
||||||
|
The GNU Public Licenses in /usr/share/common-licenses were taken from
|
||||||
|
ftp.gnu.org and are copyrighted by the Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
The Artistic License in /usr/share/common-licenses is the one coming
|
||||||
|
from Perl and its SPDX name is "Artistic License 1.0 (Perl)".
|
||||||
|
|
||||||
|
|
||||||
|
Copyright (C) 1995-2011 Software in the Public Interest.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
On Debian #OSNAME# systems, the complete text of the GNU General
|
||||||
|
Public License can be found in `/usr/share/common-licenses/GPL'.
|
3
basefiles/debian/current-md5sums-obsolete
Executable file
3
basefiles/debian/current-md5sums-obsolete
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
sed -e "s&#OSNAME#&GNU/Linux&" etc/motd | awk 'NR > 2' | md5sum
|
||||||
|
sed -e "s&#OSNAME#&GNU/Hurd&" etc/motd | awk 'NR > 2' | md5sum
|
1
basefiles/debian/lsb-release-udeb.install
Normal file
1
basefiles/debian/lsb-release-udeb.install
Normal file
@ -0,0 +1 @@
|
|||||||
|
etc/lsb-release
|
19
basefiles/debian/motd-news
Normal file
19
basefiles/debian/motd-news
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Enable/disable the dynamic MOTD news service
|
||||||
|
# This is a useful way to provide dynamic, informative
|
||||||
|
# information pertinent to the users and administrators
|
||||||
|
# of the local system
|
||||||
|
ENABLED=1
|
||||||
|
|
||||||
|
# Configure the source of dynamic MOTD news
|
||||||
|
# White space separated list of 0 to many news services
|
||||||
|
# For security reasons, these must be https
|
||||||
|
# and have a valid certificate
|
||||||
|
# Canonical runs a service at motd.ubuntu.com, and you
|
||||||
|
# can easily run one too
|
||||||
|
URLS="https://motd.ubuntu.com"
|
||||||
|
|
||||||
|
# Specify the time in seconds, you're willing to wait for
|
||||||
|
# dynamic MOTD news
|
||||||
|
# Note that news messages are fetched in the background by
|
||||||
|
# a systemd timer, so this should never block boot or login
|
||||||
|
WAIT=5
|
1
basefiles/debian/motd-news-config.install
Normal file
1
basefiles/debian/motd-news-config.install
Normal file
@ -0,0 +1 @@
|
|||||||
|
debian/motd-news etc/default
|
5
basefiles/debian/motd-news-config.lintian-overrides
Normal file
5
basefiles/debian/motd-news-config.lintian-overrides
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#
|
||||||
|
# enabling/disabling in the .service file would not allow the
|
||||||
|
# "other-package activates service" mechanism that motd-news uses
|
||||||
|
#
|
||||||
|
motd-news-config: init.d-script-should-always-start-service
|
55
basefiles/debian/motd-news-config.postinst
Normal file
55
basefiles/debian/motd-news-config.postinst
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# postinst script for motd-news-config
|
||||||
|
#
|
||||||
|
# see: dh_installdeb(1)
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# summary of how this script can be called:
|
||||||
|
# * <postinst> `configure' <most-recently-configured-version>
|
||||||
|
# * <old-postinst> `abort-upgrade' <new version>
|
||||||
|
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
||||||
|
# <new-version>
|
||||||
|
# * <postinst> `abort-remove'
|
||||||
|
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
||||||
|
# <failed-install-package> <version> `removing'
|
||||||
|
# <conflicting-package> <version>
|
||||||
|
# for details, see https://www.debian.org/doc/debian-policy/ or
|
||||||
|
# the debian-policy package
|
||||||
|
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
configure)
|
||||||
|
# only run on new installs, $2 will be empty then
|
||||||
|
if [ -z "$2" ]; then
|
||||||
|
# /e/d/motd-news was moved from pkg:base-files to this package.
|
||||||
|
# base-files runs rm_conffile which, if it was modified, leaves
|
||||||
|
# /e/d/motd-news.dpkg-bak around. We want to preserve that *changed*
|
||||||
|
# config file in this migration, and this is something that
|
||||||
|
# rm_conffile is not handling. In that case, let's put the backup
|
||||||
|
# file back in place
|
||||||
|
if [ -e /etc/default/motd-news.dpkg-bak ]; then
|
||||||
|
mv /etc/default/motd-news.dpkg-bak /etc/default/motd-news
|
||||||
|
fi
|
||||||
|
if [ -e /etc/default/motd-news.wasremoved ] && [ -e /etc/default/motd-news ]; then
|
||||||
|
sed -i -e 's/^ENABLED=1/# Changed by motd-news-config.postinst:\n# config file was manually removed - disable the service\nENABLED=0/' /etc/default/motd-news
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
rm -f /etc/default/motd-news.wasremoved
|
||||||
|
;;
|
||||||
|
|
||||||
|
abort-upgrade|abort-remove|abort-deconfigure)
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
echo "postinst called with unknown argument \`$1'" >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# dh_installdeb will replace this with shell code automatically
|
||||||
|
# generated by other debhelper scripts.
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
8
basefiles/debian/motd-news.service
Normal file
8
basefiles/debian/motd-news.service
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Message of the Day
|
||||||
|
After=network-online.target
|
||||||
|
Documentation=man:update-motd(8)
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/etc/update-motd.d/50-motd-news --force
|
11
basefiles/debian/motd-news.timer
Normal file
11
basefiles/debian/motd-news.timer
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Message of the Day
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=00,12:00:00
|
||||||
|
RandomizedDelaySec=12h
|
||||||
|
Persistent=true
|
||||||
|
OnStartupSec=1min
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
@ -13,10 +13,6 @@ install_local_dir() {
|
|||||||
if [ ! -d "$DPKG_ROOT$1" ]; then
|
if [ ! -d "$DPKG_ROOT$1" ]; then
|
||||||
mkdir -p "$DPKG_ROOT$1"
|
mkdir -p "$DPKG_ROOT$1"
|
||||||
fi
|
fi
|
||||||
if [ -f "$DPKG_ROOT/etc/staff-group-for-usr-local" ]; then
|
|
||||||
chown root:staff "$DPKG_ROOT$1" 2>/dev/null || true
|
|
||||||
chmod 2775 "$DPKG_ROOT$1" 2> /dev/null || true
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
install_from_default() {
|
install_from_default() {
|
||||||
@ -62,7 +58,7 @@ if [ "$1" = "configure" ] && [ "$2" = "" ]; then
|
|||||||
install_from_default dot.profile /root/.profile
|
install_from_default dot.profile /root/.profile
|
||||||
install_from_default dot.bashrc /root/.bashrc
|
install_from_default dot.bashrc /root/.bashrc
|
||||||
install_from_default profile /etc/profile
|
install_from_default profile /etc/profile
|
||||||
install_from_default motd /etc/motd
|
install_from_default networks /etc/networks
|
||||||
install_directory mnt 755 root
|
install_directory mnt 755 root
|
||||||
install_directory srv 755 root
|
install_directory srv 755 root
|
||||||
install_directory opt 755 root
|
install_directory opt 755 root
|
||||||
@ -83,7 +79,6 @@ if [ "$1" = "configure" ] && [ "$2" = "" ]; then
|
|||||||
install_local_dir /usr/local/bin
|
install_local_dir /usr/local/bin
|
||||||
install_local_dir /usr/local/games
|
install_local_dir /usr/local/games
|
||||||
install_local_dir /usr/local/lib
|
install_local_dir /usr/local/lib
|
||||||
install_local_dir /usr/local/libexec
|
|
||||||
install_local_dir /usr/local/include
|
install_local_dir /usr/local/include
|
||||||
install_local_dir /usr/local/sbin
|
install_local_dir /usr/local/sbin
|
||||||
install_local_dir /usr/local/src
|
install_local_dir /usr/local/src
|
||||||
@ -101,6 +96,14 @@ if [ -d "$DPKG_ROOT/usr/share/info" ] && [ ! -f "$DPKG_ROOT/usr/info/dir" ] && [
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "configure" ] && [ "$2" != "" ]; then
|
if [ "$1" = "configure" ] && [ "$2" != "" ]; then
|
||||||
|
# If we're upgrading base-files, remove the upgrade-available flag
|
||||||
|
# maintained by update-manager, and rerun the release-upgrade check
|
||||||
|
# immediately (in the background) to update the flag.
|
||||||
|
rm -f $DPKG_ROOT/var/lib/update-notifier/release-upgrade-available
|
||||||
|
if [ -x $DPKG_ROOT/usr/lib/update-manager/check-new-release ]; then
|
||||||
|
$DPKG_ROOT/usr/lib/update-manager/check-new-release -q > $DPKG_ROOT/var/lib/update-notifier/release-upgrade-available &
|
||||||
|
fi
|
||||||
|
|
||||||
update_to_current_default profile /etc/profile
|
update_to_current_default profile /etc/profile
|
||||||
update_to_current_default dot.profile /root/.profile
|
update_to_current_default dot.profile /root/.profile
|
||||||
if dpkg --compare-versions "$2" lt-nl "7.7"; then
|
if dpkg --compare-versions "$2" lt-nl "7.7"; then
|
||||||
@ -108,26 +111,21 @@ if [ "$1" = "configure" ] && [ "$2" != "" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rtlddir="#USR_MERGE_RTLDLIB#"
|
# special case of having /etc/default/motd-news removed by hand
|
||||||
if [ "$1" = "configure" ] && [ -n "$rtlddir" ]; then
|
# signal the motd-news-config package that this happened, so that
|
||||||
# Remove temporary DEP17 M4 diversion added by glibc.
|
# it does not put back the file with default contents which would
|
||||||
dpkg-divert --quiet --package base-files --remove --no-rename --divert "/.$rtlddir.usr-is-merged" "/$rtlddir"
|
# re-enable motd-news
|
||||||
|
motd_news_config="$DPKG_ROOT/etc/default/motd-news"
|
||||||
|
# only in upgrades, never fresh installs like in debootstrap
|
||||||
|
if [ "$2" != "" ] && \
|
||||||
|
[ ! -e ${motd_news_config} ] && \
|
||||||
|
[ ! -e ${motd_news_config}.dpkg-remove ] && \
|
||||||
|
[ ! -e ${motd_news_config}.dpkg-backup ]; then
|
||||||
|
# The .wasremoved file only matters if ubuntu-server is installed,
|
||||||
|
# because that's what will pull in motd-news-config
|
||||||
|
if dpkg -l ubuntu-server 2>/dev/null | grep -q ^i; then
|
||||||
|
touch ${motd_news_config}.wasremoved
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "configure" ] || [ "$1" = "triggered" ]; then
|
|
||||||
for d in #USR_MERGE_MULTILIB#; do
|
|
||||||
if [ -d "$DPKG_ROOT/usr/$d" ]; then
|
|
||||||
if [ -L "$DPKG_ROOT/$d" ]; then
|
|
||||||
:
|
|
||||||
elif [ -d "$DPKG_ROOT/$d" ]; then
|
|
||||||
echo "Warning: /$d is not a symlink, but should be." 1>&2
|
|
||||||
else
|
|
||||||
ln -s "usr/$d" "$DPKG_ROOT/$d"
|
|
||||||
fi
|
|
||||||
elif [ -L "$DPKG_ROOT/$d" ]; then
|
|
||||||
rm "$DPKG_ROOT/$d"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#DEBHELPER#
|
#DEBHELPER#
|
@ -1,7 +1,5 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
include /usr/share/dpkg/architecture.mk
|
|
||||||
|
|
||||||
OSNAME = "GNU/`uname | sed -e 's/GNU\///'`"
|
OSNAME = "GNU/`uname | sed -e 's/GNU\///'`"
|
||||||
ifeq ($(DEB_HOST_GNU_SYSTEM),linux)
|
ifeq ($(DEB_HOST_GNU_SYSTEM),linux)
|
||||||
OSNAME=GNU/Linux
|
OSNAME=GNU/Linux
|
||||||
@ -10,42 +8,33 @@ ifeq ($(DEB_HOST_GNU_SYSTEM),gnu)
|
|||||||
OSNAME=GNU/Hurd
|
OSNAME=GNU/Hurd
|
||||||
endif
|
endif
|
||||||
|
|
||||||
VENDORFILE = pika
|
VENDORFILE = ubuntu
|
||||||
DESTDIR = debian/base-files
|
DESTDIR = debian/base-files
|
||||||
|
|
||||||
ifneq (,$(filter $(DEB_HOST_ARCH),amd64 loong64 mips64el ppc64 ppc64el sparc64))
|
|
||||||
USR_MERGE_RTLDLIB = lib64
|
|
||||||
else ifneq (,$(filter $(DEB_HOST_ARCH),x32))
|
|
||||||
USR_MERGE_RTLDLIB = libx32
|
|
||||||
endif
|
|
||||||
USR_MERGE = bin lib sbin $(USR_MERGE_RTLDLIB)
|
|
||||||
USR_MERGE_MULTILIB = $(filter-out $(USR_MERGE),lib32 lib64 libo32 libx32)
|
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@
|
dh $@
|
||||||
|
|
||||||
execute_after_dh_clean:
|
locale-check:
|
||||||
sh debian/timestamps
|
$(CC) $(CFLAGS) $(LDFLAGS) -o locale-check locale-check.c
|
||||||
|
|
||||||
override_dh_auto_build:
|
override_dh_auto_build: locale-check
|
||||||
set -e; { \
|
sh debian/check-md5sum-etc profile
|
||||||
echo "# Triggers for creating multilib aliasing symlinks on demand"; \
|
sed -e "s&#OSNAME#&$(OSNAME)&g" debian/copyright.in > debian/copyright
|
||||||
for d in $(USR_MERGE_MULTILIB); do \
|
sed -e "s/#VENDORFILE#/$(VENDORFILE)/g" debian/postinst.in > debian/postinst
|
||||||
echo "interest-noawait /usr/$$d"; \
|
|
||||||
done; \
|
|
||||||
} > debian/triggers
|
|
||||||
|
|
||||||
execute_after_dh_installdirs:
|
|
||||||
dh_installdirs $(foreach d,$(USR_MERGE),usr/$(d))
|
|
||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
install -p -m 644 etc/* $(DESTDIR)/etc
|
install -p -m 644 etc/* $(DESTDIR)/etc
|
||||||
install -p -m 755 motd/* $(DESTDIR)/etc/update-motd.d
|
install -p -m 755 motd/* $(DESTDIR)/etc/update-motd.d
|
||||||
|
install -p -m 644 debian/motd-news.service $(DESTDIR)/lib/systemd/system/
|
||||||
|
install -p -m 644 debian/motd-news.timer $(DESTDIR)/lib/systemd/system/
|
||||||
install -p -m 644 licenses/* $(DESTDIR)/usr/share/common-licenses
|
install -p -m 644 licenses/* $(DESTDIR)/usr/share/common-licenses
|
||||||
install -p -m 644 origins/* $(DESTDIR)/etc/dpkg/origins
|
install -p -m 644 origins/* $(DESTDIR)/etc/dpkg/origins
|
||||||
install -p -m 644 share/* $(DESTDIR)/usr/share/base-files
|
install -p -m 644 share/* $(DESTDIR)/usr/share/base-files
|
||||||
mkdir $(DESTDIR)/usr/share/pixmaps
|
mkdir $(DESTDIR)/usr/share/pixmaps
|
||||||
install -p -m 644 logos/* $(DESTDIR)/usr/share/pixmaps
|
install -p -m 644 logos/* $(DESTDIR)/usr/share/pixmaps
|
||||||
|
install -p -m 644 share/* $(DESTDIR)/usr/share/
|
||||||
|
install -p -m 644 profile.d/* $(DESTDIR)/etc/profile.d
|
||||||
|
install -p -m 755 locale-check $(DESTDIR)/usr/bin
|
||||||
ifeq ($(DEB_HOST_GNU_SYSTEM),gnu)
|
ifeq ($(DEB_HOST_GNU_SYSTEM),gnu)
|
||||||
rmdir $(DESTDIR)/sys
|
rmdir $(DESTDIR)/sys
|
||||||
endif
|
endif
|
||||||
@ -57,15 +46,12 @@ endif
|
|||||||
mv $(DESTDIR)/etc/os-release $(DESTDIR)/usr/lib/os-release
|
mv $(DESTDIR)/etc/os-release $(DESTDIR)/usr/lib/os-release
|
||||||
ln -s ../usr/lib/os-release $(DESTDIR)/etc/os-release
|
ln -s ../usr/lib/os-release $(DESTDIR)/etc/os-release
|
||||||
|
|
||||||
override_dh_installchangelogs:
|
override_dh_installsystemd:
|
||||||
dh_installchangelogs --no-trim
|
dh_installsystemd -pbase-files motd-news.timer
|
||||||
|
dh_installsystemd -pbase-files motd-news.service
|
||||||
|
|
||||||
override_dh_link:
|
override_dh_link:
|
||||||
dh_link -X os-release
|
dh_link -X os-release
|
||||||
# We want these links to be relative, so we cannot use dh_link.
|
|
||||||
set -e; for d in $(USR_MERGE); do \
|
|
||||||
ln -s usr/$$d debian/base-files/$$d; \
|
|
||||||
done
|
|
||||||
|
|
||||||
override_dh_compress:
|
override_dh_compress:
|
||||||
dh_compress -X README
|
dh_compress -X README
|
||||||
@ -77,9 +63,3 @@ override_dh_fixperms:
|
|||||||
cd debian/base-files && chmod 1777 `cat ../1777-dirs`
|
cd debian/base-files && chmod 1777 `cat ../1777-dirs`
|
||||||
cd debian/base-files && chmod 2775 `cat ../2775-dirs`
|
cd debian/base-files && chmod 2775 `cat ../2775-dirs`
|
||||||
cd debian/base-files && chmod 700 root
|
cd debian/base-files && chmod 700 root
|
||||||
|
|
||||||
override_dh_installdeb:
|
|
||||||
dh_installdeb \
|
|
||||||
'-DVENDORFILE=$(VENDORFILE)' \
|
|
||||||
'-DUSR_MERGE_MULTILIB=$(USR_MERGE_MULTILIB)' \
|
|
||||||
'-DUSR_MERGE_RTLDLIB=$(USR_MERGE_RTLDLIB)'
|
|
1
basefiles/debian/source/format
Normal file
1
basefiles/debian/source/format
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.0 (native)
|
1
basefiles/etc/debian_version
Normal file
1
basefiles/etc/debian_version
Normal file
@ -0,0 +1 @@
|
|||||||
|
bookworm/sid
|
3
basefiles/etc/host.conf
Normal file
3
basefiles/etc/host.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# The "order" line is only used by old versions of the C library.
|
||||||
|
order hosts,bind
|
||||||
|
multi on
|
2
basefiles/etc/issue
Normal file
2
basefiles/etc/issue
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
PikaOS 22.10 \n \l
|
||||||
|
|
1
basefiles/etc/issue.net
Normal file
1
basefiles/etc/issue.net
Normal file
@ -0,0 +1 @@
|
|||||||
|
PikaOS 22.10
|
1
basefiles/etc/legal
Normal file
1
basefiles/etc/legal
Normal file
@ -0,0 +1 @@
|
|||||||
|
ILLEGAL!
|
4
basefiles/etc/lsb-release
Normal file
4
basefiles/etc/lsb-release
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
DISTRIB_ID=PikaOS
|
||||||
|
DISTRIB_RELEASE=22.10
|
||||||
|
DISTRIB_CODENAME=kinetic
|
||||||
|
DISTRIB_DESCRIPTION="PikaOS 22.10"
|
10
basefiles/etc/os-release
Normal file
10
basefiles/etc/os-release
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
PRETTY_NAME="PikaOS 22.10"
|
||||||
|
NAME="PikaOS"
|
||||||
|
VERSION_ID="22.10"
|
||||||
|
VERSION="22.10 (Kinetic Kudu)"
|
||||||
|
VERSION_CODENAME=kinetic
|
||||||
|
ID=pika
|
||||||
|
ID_LIKE="ubuntu debian"
|
||||||
|
VERSION_CODENAME=kinetic
|
||||||
|
UBUNTU_CODENAME=kinetic
|
||||||
|
LOGO=pika-logo
|
@ -355,7 +355,7 @@ The Free Software Foundation may publish new, revised versions
|
|||||||
of the GNU Free Documentation License from time to time. Such new
|
of the GNU Free Documentation License from time to time. Such new
|
||||||
versions will be similar in spirit to the present version, but may
|
versions will be similar in spirit to the present version, but may
|
||||||
differ in detail to address new problems or concerns. See
|
differ in detail to address new problems or concerns. See
|
||||||
https://www.gnu.org/licenses/.
|
http://www.gnu.org/copyleft/.
|
||||||
|
|
||||||
Each version of the License is given a distinguishing version number.
|
Each version of the License is given a distinguishing version number.
|
||||||
If the Document specifies that a particular numbered version of this
|
If the Document specifies that a particular numbered version of this
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
|
Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
|
||||||
<https://fsf.org/>
|
<http://fsf.org/>
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
@ -377,7 +377,7 @@ The Free Software Foundation may publish new, revised versions of the
|
|||||||
GNU Free Documentation License from time to time. Such new versions
|
GNU Free Documentation License from time to time. Such new versions
|
||||||
will be similar in spirit to the present version, but may differ in
|
will be similar in spirit to the present version, but may differ in
|
||||||
detail to address new problems or concerns. See
|
detail to address new problems or concerns. See
|
||||||
https://www.gnu.org/licenses/.
|
http://www.gnu.org/copyleft/.
|
||||||
|
|
||||||
Each version of the License is given a distinguishing version number.
|
Each version of the License is given a distinguishing version number.
|
||||||
If the Document specifies that a particular numbered version of this
|
If the Document specifies that a particular numbered version of this
|
@ -1,7 +1,7 @@
|
|||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Version 3, 29 June 2007
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
|
|||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
|
|||||||
You should also get your employer (if you work as a programmer) or school,
|
You should also get your employer (if you work as a programmer) or school,
|
||||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||||
For more information on this, and how to apply and follow the GNU GPL, see
|
For more information on this, and how to apply and follow the GNU GPL, see
|
||||||
<https://www.gnu.org/licenses/>.
|
<http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
The GNU General Public License does not permit incorporating your program
|
The GNU General Public License does not permit incorporating your program
|
||||||
into proprietary programs. If your program is a subroutine library, you
|
into proprietary programs. If your program is a subroutine library, you
|
||||||
may consider it more useful to permit linking proprietary applications with
|
may consider it more useful to permit linking proprietary applications with
|
||||||
the library. If this is what you want to do, use the GNU Lesser General
|
the library. If this is what you want to do, use the GNU Lesser General
|
||||||
Public License instead of this License. But first, please read
|
Public License instead of this License. But first, please read
|
||||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
@ -1,7 +1,7 @@
|
|||||||
GNU LESSER GENERAL PUBLIC LICENSE
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
Version 3, 29 June 2007
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
80
basefiles/locale-check.c
Normal file
80
basefiles/locale-check.c
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
#include <locale.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
char *help = "locale-check DEFAULT_LOCALE\n"
|
||||||
|
"\n"
|
||||||
|
"Check that the various locale-related environment variables contain\n"
|
||||||
|
"values that can be set. Output shell that can be passed to eval to\n"
|
||||||
|
"set any invalid environment variables to DEFAULT_LOCALE\n";
|
||||||
|
|
||||||
|
static void usage(void) {
|
||||||
|
fprintf(stderr, "%s", help);
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void check(int category, char* varname, char* defvalue) {
|
||||||
|
if (getenv(varname) != NULL) {
|
||||||
|
if (setlocale(category, "") == NULL) {
|
||||||
|
printf("%s=%s\n", varname, defvalue);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#define SINGLEQUOTE '\''
|
||||||
|
#define BACKSLASH '\\'
|
||||||
|
|
||||||
|
/* Quote 'val' for shell */
|
||||||
|
static char *quote(char* val) {
|
||||||
|
/* This implementation single quotes val and replaces single quotes
|
||||||
|
with SINGLEQUOTE BACKSLASH SINGLEQUOTE SINGLEQUOTE. The worst
|
||||||
|
case is that val is entirely single quotes, in which case each
|
||||||
|
character of the input becomes 4 bytes. Then 3 bytes for
|
||||||
|
surrounding quotes and terminating NUL. */
|
||||||
|
char *ret = malloc(strlen(val)*4+3);
|
||||||
|
char *source = val;
|
||||||
|
char *dest = ret;
|
||||||
|
|
||||||
|
*dest++ = SINGLEQUOTE;
|
||||||
|
while (*source) {
|
||||||
|
if (*source == SINGLEQUOTE) {
|
||||||
|
*dest++ = SINGLEQUOTE;
|
||||||
|
*dest++ = BACKSLASH;
|
||||||
|
*dest++ = SINGLEQUOTE;
|
||||||
|
}
|
||||||
|
*dest++ = *source++;
|
||||||
|
}
|
||||||
|
*dest++ = SINGLEQUOTE;
|
||||||
|
*dest++ = 0;
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define CHECK(cat, def) check(cat, #cat, def);
|
||||||
|
|
||||||
|
int main(int argc, char** argv) {
|
||||||
|
char *defval;
|
||||||
|
if (argc != 2) {
|
||||||
|
usage();
|
||||||
|
}
|
||||||
|
defval = quote(argv[1]);
|
||||||
|
/* setlocale will never consult LANG if LC_ALL is set */
|
||||||
|
if (getenv("LC_ALL") == NULL) {
|
||||||
|
check(LC_ALL, "LANG", defval);
|
||||||
|
} else {
|
||||||
|
CHECK(LC_ALL, defval);
|
||||||
|
}
|
||||||
|
CHECK(LC_ADDRESS, defval);
|
||||||
|
CHECK(LC_COLLATE, defval);
|
||||||
|
CHECK(LC_CTYPE, defval);
|
||||||
|
CHECK(LC_IDENTIFICATION, defval);
|
||||||
|
CHECK(LC_MEASUREMENT, defval);
|
||||||
|
CHECK(LC_MESSAGES, defval);
|
||||||
|
CHECK(LC_MONETARY, defval);
|
||||||
|
CHECK(LC_NAME, defval);
|
||||||
|
CHECK(LC_NUMERIC, defval);
|
||||||
|
CHECK(LC_PAPER, defval);
|
||||||
|
CHECK(LC_TELEPHONE, defval);
|
||||||
|
CHECK(LC_TIME, defval);
|
||||||
|
return 0;
|
||||||
|
}
|
15
basefiles/logos/pika-logo-text-dark.svg
Normal file
15
basefiles/logos/pika-logo-text-dark.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 24 KiB |
15
basefiles/logos/pika-logo-text.svg
Normal file
15
basefiles/logos/pika-logo-text.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 23 KiB |
59
basefiles/logos/pika-logo.svg
Normal file
59
basefiles/logos/pika-logo.svg
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 720 720" width="64" height="64">
|
||||||
|
<title>pika-logo-svg</title>
|
||||||
|
<defs>
|
||||||
|
<clipPath clipPathUnits="userSpaceOnUse" id="cp1">
|
||||||
|
<path d="m0 0h720v720h-720z"/>
|
||||||
|
</clipPath>
|
||||||
|
<filter x="-50%" y="-50%" width="200%" height="200%" id="f1"> <feGaussianBlur stdDeviation="2.1"/> </filter>
|
||||||
|
</defs>
|
||||||
|
<style>
|
||||||
|
.s0 { fill: #929291 }
|
||||||
|
.s1 { fill: #b8b0ae }
|
||||||
|
.s2 { fill: #ffc508 }
|
||||||
|
.s3 { fill: #b19c9c;stroke: #b19c9c;stroke-width: 2.4 }
|
||||||
|
.s4 { fill: #000000 }
|
||||||
|
.s5 { fill: #ffffff }
|
||||||
|
.s6 { filter: url(#f1);fill: #ec520a }
|
||||||
|
.s7 { filter: url(#f1);fill: #ffffff }
|
||||||
|
.s8 { fill: none;stroke: #000000;stroke-linecap: round;stroke-linejoin: round;stroke-width: 8.5 }
|
||||||
|
</style>
|
||||||
|
<g id="Clip-Path: g151" clip-path="url(#cp1)">
|
||||||
|
<g id="g151">
|
||||||
|
<g id="g11">
|
||||||
|
<path id="path7" class="s0" d="m321.5 704.2c0 0-115.8-34.4-141.4-52.1-34.5-23.9-62.8-50.8-81.6-74.1 43.4-135.4 64.9-234.1 96.3-300.7 53.8-222.1 234.2-231.9 323 16.9 7.4 16.1 31.1 33.4 48.3 70 7 15 5.4 31.4 10.8 54.3 5 30.8 4.2 86.5 31 186.6-23.1 21.3-57.2 48.6-93.7 64.5-51.9 22.8-102.9 33.4-102.9 33.4"/>
|
||||||
|
</g>
|
||||||
|
<g id="layer1">
|
||||||
|
</g>
|
||||||
|
<g id="g26191">
|
||||||
|
</g>
|
||||||
|
<g id="g22">
|
||||||
|
<path id="path20" class="s1" d="m192.1 281.7c-28.2 85.9-60.7 199-88.7 304.7-32.3-45.8-41.2-57.1-55.9-86.2 30.8-36.7 64.5-67.6 85.6-82.8 15-10.7 32.5-60.8 38.7-81.8 6.3-20.7 10.5-43.7 20.3-53.9z"/>
|
||||||
|
</g>
|
||||||
|
<g id="g33">
|
||||||
|
<path id="path31" class="s1" d="m518.7 263.3c5.2 24 21.3 81.9 40.6 96.9 32 24.8 85 77.1 125.8 133.5-33.4 53.4 2.3 32.5-98.8 131.1-21.7-139.5-52.9-305-83.4-425.2 12.3 13.3 10.6 39.9 15.8 63.7z"/>
|
||||||
|
</g>
|
||||||
|
<g id="g55">
|
||||||
|
<path id="path35" class="s2" d="m153.8 363.5c26.9-58.6-2.1-64 43.8-121.2 21.7-27 16.1-92.8 44.2-133.5 28.1-40.7 56.8-69.2 119.3-71.5 62.5-2.3 121.3 51.8 146.2 99.7 24.9 47.9 23.4 83.7 31.4 121.1 7.9 37.3 32.5 98.6 33.7 109.4-15.3 4.5-19.3 4.1-27.8 8.8-10.9 6.1-19.1 16-28.3 24.3-18.8 17.2-30.5 46-54.9 53.2-17.9 5.4-36.7-6.8-55-10.5-20.1-4-40.3-17.5-60.2-12.6-12.2 3-29.2 23.9-29.2 23.9-12.3 10.2-20.5-26-35.1-32.6-14.5-6.4-33.9 3.9-47.4-4.4-17.7-10.9-15.2-42.5-33.3-52.8-13.7-7.8-26.5 15.8-47.4-1.3z"/>
|
||||||
|
</g>
|
||||||
|
<g id="g91">
|
||||||
|
<path id="path89" class="s3" d="m364.1 201c27.9-0.8 60 19.3 58.2 62.3-19.5 25.3-37.5 55.2-45.6 89.4-8.1 34.3-19.6 18.6-24.9 16.4-5.2-2.3-23.2-62-26.7-74.6-3.5-12.7-16.2-36.7-9.9-53.9 7.2-19.7 27.9-39.1 48.9-39.6z"/>
|
||||||
|
</g>
|
||||||
|
<g id="g105">
|
||||||
|
<path id="path97" class="s4" d="m474.4 199.1c0.2-12.5 4.7-22.5 10-22.4 5.3 0 9.5 10.2 9.3 22.7-0.2 12.5-4.7 22.6-10 22.5-5.3-0.1-9.5-10.3-9.3-22.8z"/>
|
||||||
|
<path id="path99" class="s5" d="m479.3 199.9c-0.3-4.2 1.7-7.9 4.3-8.2 2.7-0.3 5 2.8 5.2 7 0.3 4.2-1.7 7.8-4.3 8.1-2.6 0.3-5-2.8-5.2-6.9z"/>
|
||||||
|
<path id="path101" class="s4" d="m255.2 191c0.6-12.8 4.8-23.1 9.3-22.9 4.6 0.2 7.8 10.8 7.2 23.7-0.6 12.9-4.8 23.2-9.4 23-4.5-0.3-7.7-10.9-7.1-23.8z"/>
|
||||||
|
<path id="path103" class="s5" d="m259.3 191.5c0.1-4.3 2.1-7.8 4.4-7.9 2.3 0 4 3.5 3.9 7.8-0.2 4.3-2.1 7.8-4.4 7.8-2.3 0-4-3.4-3.9-7.7z"/>
|
||||||
|
</g>
|
||||||
|
<g id="g118">
|
||||||
|
<path id="ellipse62" class="s6" d="m482.5 337.8c-22.1 0-39.9-18.9-39.9-42.3 0-23.4 17.8-42.3 39.9-42.3 22.1 0 39.9 18.9 39.9 42.3 0 23.4-17.8 42.3-39.9 42.3z"/>
|
||||||
|
<path id="ellipse116" class="s6" d="m257.6 328.2c-23.4 0-42.3-18.3-42.3-40.9 0-22.6 18.9-40.9 42.3-40.9 23.4 0 42.3 18.3 42.3 40.9 0 22.6-18.9 40.9-42.3 40.9z"/>
|
||||||
|
</g>
|
||||||
|
<g id="g139">
|
||||||
|
<path id="path137" class="s7" d="m540.1 560.5c0 6.1-1.1 12-2.8 17.6-0.9 3.2-3 7.9-3 7.9-16.3 35.8-61 59-61 59 0 0-44.7-23.2-61-59-1.4-2.8-3-7.9-3-7.9-1.8-5.6-2.8-11.5-2.8-17.6 0-22.8 17.3-41.3 38.6-41.3 11.1 0 21.2 4.5 28.2 12.6 7-8.1 17.1-12.6 28.3-12.6 21.2 0 38.5 18.5 38.5 41.3z"/>
|
||||||
|
</g>
|
||||||
|
<g id="layer2">
|
||||||
|
<path id="path901" class="s8" d="m363.8 705.1c-191.1 0-345.5-154.4-345.5-345.5 0-191.1 154.4-345.6 345.5-345.6 191.1 0 345.6 154.5 345.6 345.6 0 191.1-154.5 345.5-345.6 345.5z"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.9 KiB |
1
basefiles/logos/ubuntu-logo-text-dark.png
Symbolic link
1
basefiles/logos/ubuntu-logo-text-dark.png
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
pika-logo-text-dark.svg
|
1
basefiles/logos/ubuntu-logo-text-dark.svg
Symbolic link
1
basefiles/logos/ubuntu-logo-text-dark.svg
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
pika-logo-text-dark.svg
|
1
basefiles/logos/ubuntu-logo-text.png
Symbolic link
1
basefiles/logos/ubuntu-logo-text.png
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
pika-logo-text.svg
|
1
basefiles/logos/ubuntu-logo-text.svg
Symbolic link
1
basefiles/logos/ubuntu-logo-text.svg
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
pika-logo-text.svg
|
1
basefiles/logos/ubuntu-logo.png
Symbolic link
1
basefiles/logos/ubuntu-logo.png
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
pika-logo.svg
|
1
basefiles/logos/ubuntu-logo.svg
Symbolic link
1
basefiles/logos/ubuntu-logo.svg
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
pika-logo.svg
|
10
basefiles/motd/00-header
Executable file
10
basefiles/motd/00-header
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -r /etc/lsb-release ] && . /etc/lsb-release
|
||||||
|
|
||||||
|
if [ -z "$DISTRIB_DESCRIPTION" ] && [ -x /usr/bin/lsb_release ]; then
|
||||||
|
# Fall back to using the very slow lsb_release utility
|
||||||
|
DISTRIB_DESCRIPTION=$(lsb_release -s -d)
|
||||||
|
fi
|
||||||
|
|
||||||
|
printf "Welcome to %s (%s %s %s)\n" "$DISTRIB_DESCRIPTION" "$(uname -o)" "$(uname -r)" "$(uname -m)"
|
3
basefiles/motd/10-help-text
Executable file
3
basefiles/motd/10-help-text
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
printf "911 what's your emergency?\n"
|
1
basefiles/motd/50-motd-news
Executable file
1
basefiles/motd/50-motd-news
Executable file
@ -0,0 +1 @@
|
|||||||
|
#!/bin/sh
|
3
basefiles/origins/debian
Normal file
3
basefiles/origins/debian
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Vendor: Debian
|
||||||
|
Vendor-URL: https://www.debian.org/
|
||||||
|
Bugs: debbugs://bugs.debian.org
|
2
basefiles/origins/pika
Normal file
2
basefiles/origins/pika
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Vendor: PikaOS
|
||||||
|
Parent: Ubuntu
|
4
basefiles/origins/ubuntu
Normal file
4
basefiles/origins/ubuntu
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Vendor: Ubuntu
|
||||||
|
Vendor-URL: http://www.ubuntu.com/
|
||||||
|
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
|
||||||
|
Parent: Debian
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user