port to PikaOS 4
Some checks failed
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Failing after 5s

This commit is contained in:
Ward from fusion-voyager-3 2024-07-24 16:41:05 +03:00
parent ac841e1c30
commit c599011a8e
96 changed files with 1955 additions and 672 deletions

View File

@ -1 +1 @@
1
2

View File

@ -1,46 +0,0 @@
name: PikaOS Package Release
on:
workflow_dispatch
jobs:
build:
runs-on: self-hosted
container:
image: ghcr.io/pikaos-linux/pika-package-container:latest
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- 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
- name: Purge cache
uses: strrife/cloudflare-chunked-purge-action@master
env:
# Zone is required by both authentication methods
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
PURGE_URLS: ${{ vars.PURGE_URLS }}

View File

@ -1,46 +0,0 @@
name: PikaOS Package Release (i386)
on:
workflow_dispatch
jobs:
build:
runs-on: self-hosted
container:
image: ghcr.io/pikaos-linux/pika-i386-package-container:latest
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- 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
- name: Purge cache
uses: strrife/cloudflare-chunked-purge-action@master
env:
# Zone is required by both authentication methods
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
PURGE_URLS: ${{ vars.PURGE_URLS }}

View File

@ -0,0 +1,9 @@
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

View File

@ -4,10 +4,10 @@ Frequently Asked Questions about base-files
* Questions about /etc/issue and /etc/debian_version:
Q. I upgraded my system to the testing distribution and now my /etc/issue
says "bookworm/sid". Should it not read "bookworm" or "testing"?
says "trixie/sid". Should it not read "trixie" or "testing"?
Q. I upgraded my system to the unstable distribution and now my /etc/issue
says "bookworm/sid". Should it not read "sid" or "unstable"?
says "trixie/sid". Should it not read "sid" or "unstable"?
A. That would be nice, but it is not possible because of the way the
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
was initially uploaded for unstable, the only sensible /etc/issue to
have is one that is both valid for testing and unstable, hence
"bookworm/sid" (or whatever is appropriate).
"trixie/sid" (or whatever is appropriate).
Q. Why "bookworm/sid" and not "testing/unstable" as it used to be?
Q. Why "trixie/sid" and not "testing/unstable" as it used to be?
A. The codename is a little bit more informative, as the meaning of
"testing" changes over time.
@ -95,5 +95,12 @@ freedom to remove those directories without them being created again
when base-files is upgraded. Therefore, if you are running any sort of
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>

View File

@ -1,4 +1,3 @@
bin
boot
dev
etc
@ -8,20 +7,14 @@ etc/profile.d
etc/skel
etc/update-motd.d
home
lib
lib/systemd/system
proc
root
run
sbin
sys
tmp
usr
usr/bin
usr/games
usr/include
usr/lib
usr/sbin
usr/share
usr/share/base-files
usr/share/common-licenses

View File

@ -0,0 +1,35 @@
#
# 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

View File

@ -0,0 +1 @@
debian/triggers

View File

@ -0,0 +1,23 @@
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.

View File

@ -0,0 +1,37 @@
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.

View File

@ -0,0 +1,4 @@
[DEFAULT]
upstream-branch = master
debian-branch = master
debian-tag = %(version)s

View File

@ -13,6 +13,10 @@ install_local_dir() {
if [ ! -d "$DPKG_ROOT$1" ]; then
mkdir -p "$DPKG_ROOT$1"
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() {
@ -58,7 +62,7 @@ if [ "$1" = "configure" ] && [ "$2" = "" ]; then
install_from_default dot.profile /root/.profile
install_from_default dot.bashrc /root/.bashrc
install_from_default profile /etc/profile
install_from_default networks /etc/networks
install_from_default motd /etc/motd
install_directory mnt 755 root
install_directory srv 755 root
install_directory opt 755 root
@ -79,6 +83,7 @@ if [ "$1" = "configure" ] && [ "$2" = "" ]; then
install_local_dir /usr/local/bin
install_local_dir /usr/local/games
install_local_dir /usr/local/lib
install_local_dir /usr/local/libexec
install_local_dir /usr/local/include
install_local_dir /usr/local/sbin
install_local_dir /usr/local/src
@ -96,14 +101,6 @@ if [ -d "$DPKG_ROOT/usr/share/info" ] && [ ! -f "$DPKG_ROOT/usr/info/dir" ] && [
fi
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 dot.profile /root/.profile
if dpkg --compare-versions "$2" lt-nl "7.7"; then
@ -111,21 +108,26 @@ if [ "$1" = "configure" ] && [ "$2" != "" ]; then
fi
fi
# special case of having /etc/default/motd-news removed by hand
# signal the motd-news-config package that this happened, so that
# it does not put back the file with default contents which would
# 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
rtlddir="#USR_MERGE_RTLDLIB#"
if [ "$1" = "configure" ] && [ -n "$rtlddir" ]; then
# Remove temporary DEP17 M4 diversion added by glibc.
dpkg-divert --quiet --package base-files --remove --no-rename --divert "/.$rtlddir.usr-is-merged" "/$rtlddir"
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
#DEBHELPER#

View File

@ -0,0 +1,11 @@
#!/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#

View File

@ -0,0 +1,32 @@
#!/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#

View File

@ -1,5 +1,7 @@
#!/usr/bin/make -f
include /usr/share/dpkg/architecture.mk
OSNAME = "GNU/`uname | sed -e 's/GNU\///'`"
ifeq ($(DEB_HOST_GNU_SYSTEM),linux)
OSNAME=GNU/Linux
@ -8,33 +10,43 @@ ifeq ($(DEB_HOST_GNU_SYSTEM),gnu)
OSNAME=GNU/Hurd
endif
VENDORFILE = ubuntu
VENDORFILE = pika
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 $@
locale-check:
$(CC) $(CFLAGS) $(LDFLAGS) -o locale-check locale-check.c
execute_after_dh_clean:
sh debian/timestamps
override_dh_auto_build: locale-check
override_dh_auto_build:
sh debian/check-md5sum-etc profile
sed -e "s&#OSNAME#&$(OSNAME)&g" debian/copyright.in > debian/copyright
sed -e "s/#VENDORFILE#/$(VENDORFILE)/g" debian/postinst.in > debian/postinst
set -e; { \
echo "# Triggers for creating multilib aliasing symlinks on demand"; \
for d in $(USR_MERGE_MULTILIB); do \
echo "interest-noawait /usr/$$d"; \
done; \
} > debian/triggers
execute_after_dh_installdirs:
dh_installdirs $(foreach d,$(USR_MERGE),usr/$(d))
override_dh_auto_install:
install -p -m 644 etc/* $(DESTDIR)/etc
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 origins/* $(DESTDIR)/etc/dpkg/origins
install -p -m 644 share/* $(DESTDIR)/usr/share/base-files
mkdir $(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)
rmdir $(DESTDIR)/sys
endif
@ -46,12 +58,15 @@ endif
mv $(DESTDIR)/etc/os-release $(DESTDIR)/usr/lib/os-release
ln -s ../usr/lib/os-release $(DESTDIR)/etc/os-release
override_dh_installsystemd:
dh_installsystemd -pbase-files motd-news.timer
dh_installsystemd -pbase-files motd-news.service
override_dh_installchangelogs:
dh_installchangelogs --no-trim
override_dh_link:
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:
dh_compress -X README
@ -63,3 +78,9 @@ override_dh_fixperms:
cd debian/base-files && chmod 1777 `cat ../1777-dirs`
cd debian/base-files && chmod 2775 `cat ../2775-dirs`
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)'

View File

@ -0,0 +1,21 @@
#!/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

View File

@ -0,0 +1 @@
trixie/sid

View File

@ -0,0 +1 @@
multi on

View File

@ -0,0 +1,2 @@
PikaOS 4 \n \l

View File

@ -0,0 +1 @@
PikaOS 4

View File

@ -0,0 +1,13 @@
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

View File

@ -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
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns. See
http://www.gnu.org/copyleft/.
https://www.gnu.org/licenses/.
Each version of the License is given a distinguishing version number.
If the Document specifies that a particular numbered version of this

View File

@ -4,7 +4,7 @@
Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
<http://fsf.org/>
<https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
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
will be similar in spirit to the present version, but may differ in
detail to address new problems or concerns. See
http://www.gnu.org/copyleft/.
https://www.gnu.org/licenses/.
Each version of the License is given a distinguishing version number.
If the Document specifies that a particular numbered version of this

View File

@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
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.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with this program. If not, see <https://www.gnu.org/licenses/>.
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,
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
<http://www.gnu.org/licenses/>.
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
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
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
<https://www.gnu.org/licenses/why-not-lgpl.html>.

View File

@ -1,7 +1,7 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

View File

@ -0,0 +1,2 @@
#!/bin/sh
uname -snrvm

View File

@ -0,0 +1,3 @@
Vendor: PikaOS
Vendor-URL: https://ppa.pika-os.com/
Bugs: https://git.pika-os.com/

View File

@ -0,0 +1,19 @@
# ~/.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'

View File

@ -11,7 +11,7 @@ File: dir Node: Top This is the top of the INFO tree
it.
--- PLEASE ADD DOCUMENTATION TO THIS TREE. (See INFO topic first.) ---
In Ubuntu, Info `dir' entries are added with the command
In Debian #OSNAME#, Info `dir' entries are added with the command
`install-info'. Please refer to install-info(8) for usage details.
* Menu: The list of major topics begins on the next line.

View File

@ -1,6 +1,9 @@
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
PATH="/usr/local/sbin:/usr/local/bin:/usr/local/libexec:/usr/local/games:/usr/sbin:/sbin:/usr/bin:/bin:/usr/libexec:/usr/games"
export PATH
if [ "${PS1-}" ]; then
if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then
# The file bash.bashrc already sets the default PS1.
@ -18,7 +21,7 @@ if [ "${PS1-}" ]; then
fi
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
for i in $(run-parts --list --regex '^[a-zA-Z0-9_][a-zA-Z0-9._-]*\.sh$' /etc/profile.d); do
if [ -r $i ]; then
. $i
fi

View File

@ -0,0 +1,16 @@
356d504b5bf759b7bfef6cdc9e3c66e1 3.1.1 to 3.1.16
f8b8e27b1a1b30a721a032baa254c973 4 to 5.0.0
bfabfb83a6d9a773eb5e4fc81af9030e 5.1 and 5.2
138403cbdd92a069480fefbf99ccbac8 5.3
ab8413a709112f5ce298462fa445b190 5.4
caefbdc2b725c2acb43d205f61779f9c 5.5
bd615094228169d947e3af41c140ac57 5.6
3bde72168bca3746e9281e863d43d6dc 5.7 and 5.8
b94c2e3df2a779ac12080942df4d86ea 5.9 to 6.4
89126d8bba3325594e1539bcc97847f3 buggy version by sendfile
91901ce5707909cfec8b3a1a6efbfa61 6.5 to 7.6
6c56009f8aabda9400878ce3c7fd91af 7.7
ff2bae0480885c074afadec201f5c668 7.8 to 9.5
2255054e61cee1a99dbe893377820dde 9.6 to 11
48a30a427d1794feb49f102b87ddce2b 11.1 to 13.1
be6a0f27688b15faede8ad38300c1acc 13.2 to current

View File

@ -1,22 +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 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

View File

@ -1 +0,0 @@
rm_conffile /etc/default/motd-news 11ubuntu11~ base-files

View File

@ -1,36 +0,0 @@
base-files (13.1ubuntu99-100pika4) pikauwu; urgency=medium
* Update to pikauwu
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 15 Oct 2022 20:50:00 +0300
base-files (12.3ubuntu99-99pika6) lunar; urgency=medium
* Update to new branding
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 15 Oct 2022 20:50:00 +0300
base-files (12.3ubuntu99-99pika2) lunar; urgency=medium
* Upgrade to lunar
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 15 Oct 2022 20:50:00 +0300
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

View File

@ -1,3 +0,0 @@
debian/postinst
debian/copyright
locale-check

View File

@ -1,36 +0,0 @@
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.

View File

@ -1,28 +0,0 @@
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'.

View File

@ -1,3 +0,0 @@
#!/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

View File

@ -1 +0,0 @@
etc/lsb-release

View File

@ -1,19 +0,0 @@
# 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

View File

@ -1 +0,0 @@
debian/motd-news etc/default

View File

@ -1,5 +0,0 @@
#
# 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

View File

@ -1,55 +0,0 @@
#!/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

View File

@ -1,8 +0,0 @@
[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

View File

@ -1,11 +0,0 @@
[Unit]
Description=Message of the Day
[Timer]
OnCalendar=00,12:00:00
RandomizedDelaySec=12h
Persistent=true
OnStartupSec=1min
[Install]
WantedBy=timers.target

View File

@ -1 +0,0 @@
bookworm/sid

View File

@ -1,3 +0,0 @@
# The "order" line is only used by old versions of the C library.
order hosts,bind
multi on

View File

@ -1,2 +0,0 @@
PikaOS Linux 3 \n \l

View File

@ -1 +0,0 @@
PikaOS Linux 3

View File

@ -1,5 +0,0 @@
PikaOS Copyright and EULA 2022 - 2023:
ILLEGAL!
POLICE HANDS UP! GET ON THE FUCKING GROUND!!!!!
WE GOT YOU YOU BITCH.

View File

@ -1,4 +0,0 @@
DISTRIB_ID=PikaOS
DISTRIB_RELEASE=3
DISTRIB_CODENAME=devel
DISTRIB_DESCRIPTION="PikaOS Linux 3"

View File

@ -1,9 +0,0 @@
NAME="PikaOS"
VERSION="3"
ID=pika
ID_LIKE="ubuntu debian"
PRETTY_NAME="PikaOS Linux 3"
VERSION_ID="3"
VERSION_CODENAME=devel
UBUNTU_CODENAME=devel
LOGO=pika-logo

View File

@ -1,80 +0,0 @@
#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;
}

View File

@ -1 +0,0 @@
pika-logo-text-dark.svg

View File

@ -1 +0,0 @@
pika-logo-text-dark.svg

View File

@ -1 +0,0 @@
pika-logo-text.svg

View File

@ -1 +0,0 @@
pika-logo-text.svg

View File

@ -1 +0,0 @@
pika-logo.svg

View File

@ -1 +0,0 @@
pika-logo.svg

View File

@ -1,10 +0,0 @@
#!/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)"

View File

@ -1,5 +0,0 @@
#!/bin/sh
printf "PikaOS Police: 911 what's your emergency?\n"
printf "You: I Did Something Really stupid... plz save me.\n"
printf "PikaOS Police: https://discord.gg/6HKR2YRvNg\n"

View File

@ -1 +0,0 @@
#!/bin/sh

View File

@ -1,3 +0,0 @@
Vendor: Debian
Vendor-URL: https://www.debian.org/
Bugs: debbugs://bugs.debian.org

View File

@ -1,2 +0,0 @@
Vendor: PikaOS
Parent: Ubuntu

View File

@ -1,4 +0,0 @@
Vendor: Ubuntu
Vendor-URL: http://www.ubuntu.com/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Parent: Debian

View File

@ -1,2 +0,0 @@
# Make sure the locale variables are set to valid values.
eval $(/usr/bin/locale-check C.UTF-8)

View File

@ -1,99 +0,0 @@
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color) color_prompt=yes;;
esac
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
*)
;;
esac
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
#if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
# . /etc/bash_completion
#fi

View File

@ -1,2 +0,0 @@
# symbolic names for networks, see networks(5) for more information
link-local 169.254.0.0

View File

@ -1,12 +0,0 @@
4a409a5f2242928822658b14918b2ee1
61a3f85a2dc30f4e920f615109137be5
67f902de4d3fb8cd2f4778cad06d9b17
863ed3bf8041b035234cce25d4792fdd
9519666d98e08940df6f25dcf4598bef
9a279ae6bdd1251f64b7e70e960ef00d
aa3516b5ca8ed326d75e56cc856e7d48
b59ea6ac3a1ad8c0527ec94f73bafca0
c3a1d42cddcc565f16b48eb9c2119d9d
85a2a7227b884e4c84ff950626fcc89f
9d5ee34149287021622dd9e21c17ec26
9926b56bc6e576d4ad206dd82d38deff

21
main.sh
View File

@ -1,13 +1,24 @@
#! /bin/bash
set -e
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="13.3"
# Get logos
wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-mono-small.svg -O ./basefiles/logos/pika-logo-duotone.svg
wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-logo-text-dark.svg -O ./basefiles/logos/pika-logo-text-dark.svg
wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-logo-text.svg -O ./basefiles/logos/pika-logo-text.svg
wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-logo.svg -O ./basefiles/logos/pika-logo.svg
wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-mono-small.svg -O ./base-files-not-yet/logos/pika-logo-duotone.svg
wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-logo-text-dark.svg -O ./base-files-not-yet/logos/pika-logo-text-dark.svg
wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-logo-text.svg -O ./base-files-not-yet/logos/pika-logo-text.svg
wget https://git.pika-os.com/website/pika-branding/raw/branch/main/logos/pika-logo.svg -O ./base-files-not-yet/logos/pika-logo.svg
# Clone Upstream
cd ./basefiles
cd ./base-files-not-yet
# Get build deps
LOGNAME=root dh_make --createorig -y -l -p base-files_"$VERSION" || echo "dh-make: Ignoring Last Error"
apt-get build-dep ./ -y
# Build package

View File

@ -1,19 +0,0 @@
# Get logos
wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-mono-small.svg -O ./basefiles/logos/pika-logo-duotone.svg
wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-logo-text-dark.svg -O ./basefiles/logos/pika-logo-text-dark.svg
wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-logo-text.svg -O ./basefiles/logos/pika-logo-text.svg
wget https://github.com/PikaOS-Linux/pika-branding/raw/main/logos/pika-logo.svg -O ./basefiles/logos/pika-logo.svg
# Clone Upstream
cd ./basefiles
# Get build deps
apt-get build-dep ./ -y
# Build package
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/

9
pika-build-config/amd64-v3.sh Executable file
View File

@ -0,0 +1,9 @@
PIKA_BUILD_ARCH="amd64-v3"
DEBIAN_FRONTEND="noninteractive"
DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
DEB_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
DEB_CXXFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
DEB_LDFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
DEB_BUILD_OPTIONS="nocheck notest terse"
DPKG_GENSYMBOLS_CHECK_LEVEL=0

4
pika-build-config/i386.sh Executable file
View File

@ -0,0 +1,4 @@
PIKA_BUILD_ARCH="i386"
DEBIAN_FRONTEND="noninteractive"
DEB_BUILD_OPTIONS="nocheck notest terse"
DPKG_GENSYMBOLS_CHECK_LEVEL=0

View File

@ -1,8 +1,3 @@
# send debs to server
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/cockatiel-incoming/
# add debs to repo
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pikauwu-main /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:'