Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kisslinux/repo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2021.7-9
Choose a base ref
...
head repository: kisslinux/repo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing 489 changed files with 10,045 additions and 1,517 deletions.
9 changes: 4 additions & 5 deletions README
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
|/
|\ISS LINUX https://kisslinux.xyz
|\ISS LINUX https://kisslinux.github.io
________________________________________________________________________________


@@ -10,15 +10,14 @@ The official repositories for KISS Linux maintained by Dylan Araps.

More information:

- https://kisslinux.xyz
- https://kisslinux.xyz/package-system
- https://repology.org/repository/kiss_main
- https://kisslinux.github.io
- https://kisslinux.github.io/package-system


Signature Verification
________________________________________________________________________________

Enabling signature verification: https://kisslinux.xyz/install#3.0
Enabling signature verification: https://kisslinux.github.io/install#3.0


Dylan Araps' public key:
64 changes: 64 additions & 0 deletions core/baseinit/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
baseinit
________________________________________________________________________________

KISS Linux's portable init framework. Handles the power-on and shutdown process
in a generic way and is usable by all init systems.

Upstream: $/kisslinux/init


[000] Index
________________________________________________________________________________

* Installation ........................................................... [001]
* Setup .................................................................. [002]
* Usage .................................................................. [003]
* Troubleshooting ........................................................ [004]
* References ............................................................. [005]


[001] Installation
________________________________________________________________________________

+------------------------------------------------------------------------------+
| |
| $ kiss b baseinit |
| |
+------------------------------------------------------------------------------+


[002] Setup
________________________________________________________________________________

If using the default init system and service manager, no setup is required.
Refer to the service management documentation. [0]

To use this init framework with another init system, simply have it execute
/usr/lib/init/rc.boot on power-on and /usr/lib/init/rc.shutdown on poweroff
and reboot.

Usage is as follows:

# /usr/lib/init/rc.boot
# /usr/lib/init/rc.shutdown reboot
# /usr/lib/init/rc.shutdown poweroff

Also, configure your init system to spawn some gettys and a service manager.


[003] Usage
________________________________________________________________________________

Refer to the service management documentation. [0]


[004] Troubleshooting
________________________________________________________________________________

Open issues at $/kisslinux/init or send email #/contact


[005] References
________________________________________________________________________________

[0] #/wiki/service-management
2 changes: 1 addition & 1 deletion core/baseinit/checksums
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9f94a62c3a2d35914df834eed9109ed3d467662fe4ea57d91aaf0c2b077d15fb
889d02e36c5808b1adadaa4e567df3fef97156e38a477579a20e7c53622018d6
9 changes: 0 additions & 9 deletions core/baseinit/post-install

This file was deleted.

2 changes: 1 addition & 1 deletion core/baseinit/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.2 1
1.0.3 1
50 changes: 50 additions & 0 deletions core/baselayout/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
baselayout
________________________________________________________________________________

KISS Linux's system directory structure. It contains the skeleton of the system
and also various files in /etc/.

Upstream: $/kisslinux/repo


[000] Index
________________________________________________________________________________

* Installation ........................................................... [001]
* Usage .................................................................. [002]


[001] Installation
________________________________________________________________________________

+------------------------------------------------------------------------------+
| |
| $ kiss b baselayout |
| |
+------------------------------------------------------------------------------+


[002] Usage
________________________________________________________________________________

+------------------------------------------------------------------------------+
| |
| /etc/crypttab Configuration for encrypted block devices. |
| /etc/fstab Static information about the filesystems. |
| /etc/group User group file. |
| /etc/host.conf Resolver configuration file. |
| /etc/hosts Static table lookup for hostnames. |
| /etc/issue Prelogin message and identification file. |
| /etc/mime.types Maps filename suffices to media types. |
| /etc/mtab Symbolic link to /proc/self/mounts. |
| /etc/os-release Operating system identification. |
| /etc/passwd Password file. |
| /etc/profile System-wide shell configuration. |
| /etc/securetty List of terminals on which root is allowed to login. |
| /etc/shadow Shadowed password file. |
| /etc/shells List of login shells. |
| |
+------------------------------------------------------------------------------+

Documentation for the various files is not yet provided by the distribution.
Refer to online documentation for the time being.
16 changes: 1 addition & 15 deletions core/baselayout/build
Original file line number Diff line number Diff line change
@@ -57,21 +57,7 @@ ln -sf ../run "$1/var/run"
ln -sf ../run/lock "$1/var/lock"
ln -sf /proc/self/mounts "$1/etc/mtab"

cp -f \
fstab \
group \
host.conf \
hosts \
issue \
os-release \
passwd \
profile \
securetty \
shells \
mime.types \
crypttab \
shadow \
"$1/etc"
cp -f ./* "$1/etc"

chmod 600 \
"$1/etc/crypttab" \
2 changes: 1 addition & 1 deletion core/baselayout/checksums
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ a0fa9cd303cf7f1718f51e5624a671a418946718b790508b8988bccd542c6451
eda9afe39a3562406f14cb8a5a142922b63e68467d3ba4821c02eaa142d9c4da
e82a871a81ef0af4063475064857b884b63ad3bc01470dbb85da64a2f4d5dce4
0bde8ace73d58897e85c82eb96690bbfd1a4231949d3523d5950ba1910b08892
c83fc7c01c2dc6665f820a75ea73baa439f2ceb3323296ba7070ae1f7a0eae58
2426f2e647cc2e7562082dc82711e95eed295fdff2fff1a539e9c666bd79ef7a
7762b65442cd3e930d9b4ec470e01bc53938bc5ed3d7aedeed47977b78f54843
5aa69b5acea1deb625c46ce481d96e4e21558ae2e39ca74fc5b6a5674329f403
7e47176cd83b91bdbc3a0b10ae5d5c093b81a9c8c0c1fb714f5438381124c760
4 changes: 2 additions & 2 deletions core/baselayout/files/os-release
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ NAME="KISS Linux"
PRETTY_NAME="KISS Linux"
ID=kiss
BUILD_ID=rolling
HOME_URL="https://kisslinux.xyz"
DOCUMENTATION_URL="https://kisslinux.xyz"
HOME_URL="https://kisslinux.github.io"
DOCUMENTATION_URL="https://kisslinux.github.io"
SUPPORT_URL="https://github.com/kisslinux"
BUG_REPORT_URL="https://github.com/kisslinux"
2 changes: 1 addition & 1 deletion core/baselayout/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1 7
1 8
81 changes: 81 additions & 0 deletions core/binutils/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
binutils
________________________________________________________________________________

The GNU Binary Utilities, or binutils, are a set of programming tools for
creating and managing binary programs, object files, libraries, profile data,
and assembly source code. [0]

Upstream: https://www.gnu.org/software/binutils/


[000] Index
________________________________________________________________________________

* Installation ........................................................... [001]
* Usage .................................................................. [002]
* Troubleshooting ........................................................ [003]
* Manual Pages Empty ................................................... [004]
* References ............................................................. [005]


[001] Installation
________________________________________________________________________________

+------------------------------------------------------------------------------+
| |
| $ kiss b binutils |
| |
+------------------------------------------------------------------------------+


[002] Usage
________________________________________________________________________________

This package is a collection of binary tools.

+-----------+------------------------------------------------------------------+
| Tool | Purpose |
+-----------+------------------------------------------------------------------+
| | |
| addr2line | Converts addresses into file names and line numbers. |
| ar | Creates, modifies and extracts archives. |
| as | The GNU assembler. |
| c++filt | Demangle encoded C++ symbols. |
| dwp | The DWARF packaging utility. |
| elfedit | Update the ELF header of ELF files. |
| gold | A new, faster, ELF only linker, still in beta test. |
| ld | The GNU BFD linker. |
| nm | Lists symbols from object files. |
| objcopy | Copies and translates object files. |
| objdump | Displays information from object files. |
| ranlib | Generates an index to the contents of an archive. |
| readelf | Displays information from any ELF format object file. |
| size | Lists the section sizes of an object or archive file. |
| strings | Lists printable strings from files. |
| strip | Discards symbols. |
| | |
+-----------+------------------------------------------------------------------+

For usage information refer to the command's --help output, each command also
has its own manual page.


[003] Troubleshooting
________________________________________________________________________________


--[004] Manual Pages Empty -----------------------------------------------------

The latest binutils has a bug in its build system where manual pages are
truncated and end up empty. A patch must be applied and they must be
regenerated. To do so, install perl and run 'kiss b binutils'.

This workaround should not be needed as of next release. This is a temporary
measure to ensure documentation remains available to those wanting it


[005] References
________________________________________________________________________________

[0] https://en.wikipedia.org/wiki/GNU_Binutils

11 changes: 10 additions & 1 deletion core/binutils/build
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/bin/sh -e

patch -p1 < fix-fd-issue.patch

# Latest binutils tarball has falsely generated (empty) manual pages.
# Generating them requires perl. Temporary fix until next release.
! kiss l perl || {
patch -p1 < fix-empty-man.patch
rm -f binutils/doc/*.1 ld/ld.1 gas/doc/as.1 gprof/gprof.1
}

cat > makeinfo <<EOF
#!/bin/sh
printf 'makeinfo (GNU texinfo) 5.2\n'
@@ -13,7 +22,7 @@ export PATH=$PATH:$PWD
--with-lib-path=/usr/lib:/usr/local/lib \
--enable-targets=x86_64-pep \
--enable-deterministic-archives \
--disable-gold \
--enable-gold \
--enable-lto \
--enable-ld=default \
--enable-plugins \
2 changes: 2 additions & 0 deletions core/binutils/checksums
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c
9374c853799630e0aa0b3a97db260874418bbee3a21d8becad6a019c9f436636
10cbf96312ae3662a0fb9606e0f9c36ce483fe95006fd215d7bceb00b81169ac
12 changes: 12 additions & 0 deletions core/binutils/patches/fix-empty-man.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl
index 11f70d1..8e50c08 100644
--- a/etc/texi2pod.pl
+++ b/etc/texi2pod.pl
@@ -59,6 +59,7 @@ while ($_ = shift) {
$flag = shift;
}
push (@ipath, $flag);
+ } elsif (/^--no-split$/) {
} elsif (/^-/) {
usage();
} else {
39 changes: 39 additions & 0 deletions core/binutils/patches/fix-fd-issue.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
From 1c611b40e6bfc8029bff7696814330b5bc0ee5c0 Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <hjl.tools@gmail.com>
Date: Mon, 26 Jul 2021 05:59:55 -0700
Subject: [PATCH] bfd: Close the file descriptor if there is no archive fd

Close the file descriptor if there is no archive plugin file descriptor
to avoid running out of file descriptors on thin archives with many
archive members.

bfd/

PR ld/28138
* plugin.c (bfd_plugin_close_file_descriptor): Close the file
descriptor there is no archive plugin file descriptor.

(cherry picked from commit 5a98fb7513b559e20dfebdbaa2a471afda3b4742)
(cherry picked from commit 7dc37e1e1209c80e0bab784df6b6bac335e836f2)
---
bfd/plugin.c | 8 +++++++

diff --git a/bfd/plugin.c b/bfd/plugin.c
index 6cfa2b66470..3bab8febe88 100644
--- a/bfd/plugin.c
+++ b/bfd/plugin.c
@@ -291,6 +291,14 @@ bfd_plugin_close_file_descriptor (bfd *abfd, int fd)
&& !bfd_is_thin_archive (abfd->my_archive))
abfd = abfd->my_archive;

+ /* Close the file descriptor if there is no archive plugin file
+ descriptor. */
+ if (abfd->archive_plugin_fd == -1)
+ {
+ close (fd);
+ return;
+ }
+
abfd->archive_plugin_fd_open_count--;
/* Dup the archive plugin file descriptor for later use, which
will be closed by _bfd_archive_close_and_cleanup. */
2 changes: 2 additions & 0 deletions core/binutils/sources
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
https://ftp.gnu.org/gnu/binutils/binutils-VERSION.tar.xz
patches/fix-fd-issue.patch
patches/fix-empty-man.patch
2 changes: 1 addition & 1 deletion core/binutils/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.37 1
2.37 2
Loading