Compare commits
No commits in common. "7b8219214c65a60e55acab1b8ea53f7ab5170be9" and "63d2bc7a1b630b89c2162a942f17a1a12cad9357" have entirely different histories.
7b8219214c
...
63d2bc7a1b
66
.cirrus.yml
66
.cirrus.yml
|
@ -9,11 +9,10 @@ pylint_task:
|
|||
deps_script:
|
||||
- apt-get -y update
|
||||
- apt-get -y dist-upgrade
|
||||
- apt-get -y install python3-pip python3-requests
|
||||
- apt-get -y install python3-requests pylint
|
||||
- apt-get -y clean
|
||||
- pip3 install pylint
|
||||
check_script:
|
||||
- pylint rootfs.py sysa.py sysb.py sysc.py lib/utils.py lib/sysgeneral.py --disable=duplicate-code
|
||||
- pylint rootfs.py sysa.py lib/utils.py
|
||||
|
||||
shell_lint_task:
|
||||
container:
|
||||
|
@ -24,7 +23,7 @@ shell_lint_task:
|
|||
- apt-get -y install shellcheck
|
||||
- apt-get -y clean
|
||||
check_script:
|
||||
- shellcheck sysa/run.sh sysb/run.sh sysc/run.sh sysc/run2.sh sysglobal/helpers.sh
|
||||
- shellcheck sysa/run.sh sysa/helpers.sh
|
||||
|
||||
reuse_lint_task:
|
||||
container:
|
||||
|
@ -38,33 +37,32 @@ reuse_lint_task:
|
|||
check_script:
|
||||
- reuse lint
|
||||
|
||||
# XXX: Takes too long right now
|
||||
#run_task:
|
||||
# timeout_in: 180m
|
||||
# container:
|
||||
# image: potyarkin/molecule:host-kvm
|
||||
# kvm: true
|
||||
# cpu: 2
|
||||
# memory: 4G
|
||||
# # Required background services
|
||||
# dbus_background_script:
|
||||
# - mkdir -p /var/run/dbus
|
||||
# - /usr/bin/dbus-daemon --system --nofork --nopidfile
|
||||
# virtlogd_background_script:
|
||||
# - /usr/sbin/virtlogd
|
||||
# libvirtd_background_script:
|
||||
# - sleep 2 && /usr/sbin/libvirtd
|
||||
# iptables_legacy_script:
|
||||
# - update-alternatives --set iptables /usr/sbin/iptables-legacy
|
||||
# deps_script:
|
||||
# - apt-get -y update
|
||||
# - apt-get -y dist-upgrade
|
||||
# - apt-get -y install sudo git cpio linux-image-4.19.0-16-amd64 expect wget
|
||||
# - apt-get -y clean
|
||||
# submodule_script:
|
||||
# - git submodule update --init --recursive
|
||||
# kernel_script:
|
||||
# - cp /boot/vmlinuz-4.19.0-16-amd64 ./kernel
|
||||
# run_script:
|
||||
# - ./.cirrus.expect | tee -a /tmp/run.log
|
||||
# - grep -q 'Bootstrapping completed.' /tmp/run.log
|
||||
run_task:
|
||||
timeout_in: 180m
|
||||
container:
|
||||
image: potyarkin/molecule:host-kvm
|
||||
kvm: true
|
||||
cpu: 2
|
||||
memory: 4G
|
||||
# Required background services
|
||||
dbus_background_script:
|
||||
- mkdir -p /var/run/dbus
|
||||
- /usr/bin/dbus-daemon --system --nofork --nopidfile
|
||||
virtlogd_background_script:
|
||||
- /usr/sbin/virtlogd
|
||||
libvirtd_background_script:
|
||||
- sleep 2 && /usr/sbin/libvirtd
|
||||
iptables_legacy_script:
|
||||
- update-alternatives --set iptables /usr/sbin/iptables-legacy
|
||||
deps_script:
|
||||
- apt-get -y update
|
||||
- apt-get -y dist-upgrade
|
||||
- apt-get -y install sudo git cpio linux-image-4.19.0-16-amd64 expect wget
|
||||
- apt-get -y clean
|
||||
submodule_script:
|
||||
- git submodule update --init --recursive
|
||||
kernel_script:
|
||||
- cp /boot/vmlinuz-4.19.0-16-amd64 ./kernel
|
||||
run_script:
|
||||
- ./.cirrus.expect | tee -a /tmp/run.log
|
||||
- grep -q 'Bootstrapping completed.' /tmp/run.log
|
||||
|
|
|
@ -7,4 +7,3 @@ tmp/
|
|||
kernel
|
||||
sources/
|
||||
__pycache__
|
||||
sysglobal/bootstrap.cfg
|
||||
|
|
|
@ -9,6 +9,6 @@ Source: https://github.com/fosslinux/live-bootstrap
|
|||
# Copyright: $YEAR $NAME <$CONTACT>
|
||||
# License: ...
|
||||
|
||||
Files: SHA256SUMS.sources sysa/pre-sha.sha256sums sysa/*/checksums sysa/*/checksums/* sysc/*/checksums sysc/*/checksums/*
|
||||
Files: SHA256SUMS.sources sysa/pre-sha.sha256sums sysa/*/checksums sysa/*/checksums/*
|
||||
Copyright: none
|
||||
License: MIT
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
27
README.rst
27
README.rst
|
@ -25,10 +25,7 @@ Get me started!
|
|||
a. Alternatively, run ``./rootfs.py --chroot`` to run it in a chroot.
|
||||
b. Alternatively, run ``./rootfs.py`` but don’t run the actual
|
||||
virtualization and instead copy sysa/tmp/initramfs to a USB or
|
||||
some other device and boot from bare metal. NOTE: we now require
|
||||
a hard drive. This is currently hardcoded as sda. You also need
|
||||
to put ``sysc/tmp/disk.img`` onto your sda on the bootstrapping
|
||||
machine.
|
||||
some other device and boot from bare metal.
|
||||
|
||||
5. Wait.
|
||||
6. If you can, observe the many binaries in ``/after/bin``! When the
|
||||
|
@ -132,24 +129,4 @@ sysa
|
|||
sysa is the first ‘system’ used in live-bootstrap. We move to a new
|
||||
system after a reboot, which often occurs after the movement to a new
|
||||
kernel. It is run by the seed Linux kernel provided by the user. It
|
||||
compiles everything we need to be able to compile our own Linux kernel.
|
||||
It runs fully in an initramfs and does not rely on disk support in the
|
||||
seed Linux kernel.
|
||||
|
||||
sysb
|
||||
~~~~
|
||||
|
||||
sysb is the second 'system' of live-bootstrap. This uses the Linux 4.9.10
|
||||
kernel compiled within sysa. As we do not rely on disk support in sysa, we
|
||||
need this intermediate system to be able to add the missing binaries to sysc
|
||||
before moving into it. This is executed through kexec from sysa. At this point,
|
||||
a SATA disk IS required.
|
||||
|
||||
sysc
|
||||
~~~~
|
||||
|
||||
sysc is the (current) last 'system' of live-bootstrap. This is a continuation
|
||||
from sysb, executed through util-linux's ``switch_root`` command which moves
|
||||
the entire rootfs without a reboot. Every package from here on out is compiled
|
||||
under this system, taking binaries from sysa. Chroot mode skips sysb, as it
|
||||
is obviously irrelevant for a chroot.
|
||||
currently compiles everything.
|
||||
|
|
|
@ -37,7 +37,6 @@ bc79b890f35ca38d66ff89a6e3758226131e51ccbd10ef78d5ff150b7bd73689 flex-2.5.11.ta
|
|||
c40385e142989c91989413f3c5a31282b2ffdca16b69cd3ecfde537b8a474921 flex-2.5.33.tar.gz
|
||||
e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 flex-2.6.4.tar.gz
|
||||
5cc35def1ff4375a8b9a98c2ff79e95e80987d24f0d42fdbb7b7039b3ddb3fb0 gawk-3.0.4.tar.gz
|
||||
436a0ddc67b1ac0b0405b61a9675bca9e075c8156f4debd1d06f3a56c7cd289d gc-8.0.4.tar.gz
|
||||
e9bf58c761a4f988311aef6b41f12fd5c7e51d09477468fb73826aecc1be32e7 gcc-4.0.4.tar.bz2
|
||||
92e61c6dc3a0a449e62d72a38185fda550168a86702dea07125ebd3ec3996282 gcc-4.7.4.tar.bz2
|
||||
d20fcbb537e02dcf1383197ba05bd0734ef7bf5db06bdb241eb69b7d16b73192 gettext-0.21.tar.xz
|
||||
|
@ -47,20 +46,15 @@ df807e694deea2dcba0c43af318394f3e3fcd52658c3b71b61dad0ce0c0cfb77 gnulib-30820c.
|
|||
8cced51f89a950472473856f86e88f5daf97a2347756125ccdc8ee907deec570 gnulib-672663a.tar.gz
|
||||
2d911c2f2ed97b347d6d360b742abdc98aa626d4f8f847ee682c7cde12e90871 gnulib-7daa86f.tar.gz
|
||||
0cfbf866bc39c31f25fa0e56af1e56c5e5c92fc1e5d51242ebafef7ea211f3d5 gnulib-8e128e.tar.gz
|
||||
f9aad85de1f41d57c9368d304020ffbf354a5e56db1297f022c3d12181134e56 gnulib-901694b9.tar.gz
|
||||
0190f28cb155fedd22bf8558c3e8705eed9eacfb7ae29e7508d025a68eb90899 gnulib-b28236b.tar.gz
|
||||
1aeea67b7b3883ebcf2b90bc01f4182d7de073a052dabd3749f20c5aa4ad3e27 gnulib-b81ec69.tar.gz
|
||||
12cfa21abf618a274017d6b18e95fc6582519d7c08e2403e5c5772ccdd5b85f4 gnulib-d279bc.tar.gz
|
||||
a285dc300c3d9c25cc06e38827ef40f6073ec3b9b0fcb5bba433f943be92d8d4 gnulib-e017871.tar.gz
|
||||
588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2 gperf-3.1.tar.gz
|
||||
a32032bab36208509466654df12f507600dfe0313feebbcd218c32a70bf72a16 grep-2.4.tar.gz
|
||||
14cda9c416506dfadf60c14fc623ff01ef99b87564a78d0a29c5d17143c97609 guile-psyntax-bootstrapping.tar.gz
|
||||
f57d86c70620271bfceb7a9be0c81744a033f08adc7ceba832c9917ab3e691b7 guile-3.0.7.tar.xz
|
||||
1ca41818a23c9c59ef1d5e1d00c0d5eaa2285d931c0fb059637d7c0cc02ad967 gzip-1.2.4.tar.gz
|
||||
9f233d8b78e4351fe9dd2d50d83958a0e5af36f54e9818521458a08e058691ba heirloom-devtools-070527.tar.bz2
|
||||
a4adadf76b496a6bc50795702253ecfcb6f0d159b68038f31a5362009340bca2 help2man-1.36.4.tar.gz
|
||||
587edf60817f56daf1e1ab38a4b3c729b8e846ff67b4f62a6157183708f099af libatomic_ops-7.6.10.tar.gz
|
||||
72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056 libffi-3.3.tar.gz
|
||||
8e8ce6175d435e7df8c9bbb0e5fd5357691cdc28c1a2d00fdd9b47b7643bec3a libtool-1.4.tar.gz
|
||||
c4e63399b12f5858d11c44cea8e92f21cd564f8548e488dadc84046b424c80fc libtool-2.2.4.tar.bz2
|
||||
eb8fb2c3e4b6e2d336608377050892b54c3c983b646c561836550863003c05d7 libunistring-0.9.10.tar.xz
|
||||
|
@ -93,22 +87,3 @@ de23af78fca90ce32dff2dd45b3432b2334740bb9bb7b05bf60fdbfc396ceb9c tcc-0.9.27.tar
|
|||
988403c1542d15ad044600b909997ba3079b10e03224c61188117f3676b02caa texinfo-6.7.tar.xz
|
||||
166c48d2842519bc4f96333bff9e265f8cdda44d38e40594ef3f9bbb52890490 xz-5.0.5.tar.bz2
|
||||
4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066 zlib-1.2.11.tar.xz
|
||||
c40385e142989c91989413f3c5a31282b2ffdca16b69cd3ecfde537b8a474921 flex-2.5.33.tar.gz
|
||||
b10d7e9e354be72aee4e4911cf19dd27b5c527d4e7200857365b5fcdeea0dffb bison-2.3.tar.bz2
|
||||
0190f28cb155fedd22bf8558c3e8705eed9eacfb7ae29e7508d025a68eb90899 gnulib-b28236b.tar.gz
|
||||
9385f2c8c2ca8b1dc4a7c31903f1f8dc8f2ba867dc2a9e5c93012ed6b564e826 perl-5.10.1.tar.bz2
|
||||
54437ae4211867de7ad55723f68b94c29cb2f08a23f431e0bbbc9f34ee384f47 dist-3.5-236.tar.gz
|
||||
e40b8f018c1da64edd1cc9a6fce5fa63b2e707e404e20cad91fbae337c98a5b7 make-4.2.1.tar.gz
|
||||
27d05534699735dc69e86add5b808d6cb35900ad3fd63fa82e3eb644336abfa0 bison-3.4.2.tar.xz
|
||||
8cced51f89a950472473856f86e88f5daf97a2347756125ccdc8ee907deec570 gnulib-672663a.tar.gz
|
||||
57cc47c735c8300a8ce2fa0643507b44c4ae59012bfdad0121313db639e02309 perl-5.32.1.tar.xz
|
||||
3ec396d97debb6c1a112c1c6ff58b03a55866b75cd4fe06b74295ac9c5fc5ff2 perl-5f2dc80.tar.bz2
|
||||
84d2079a20ba32f5e2d5bc79a5dcb1de94d0176c67d75d5a20d533ea6c90d691 linux-headers-5.10.41.tar.gz
|
||||
af618de7848142f204b57811f703de3ae7aa3f5bc5d52226db35800fa8fc4dff kexec-tools-2.0.22.tar.gz
|
||||
f694bee56099b8d72c3843d97e27f2306aa9946741e34a27391f6f6f19c7bcd0 util-linux-2.19.1.tar.gz
|
||||
203c93e004ac7ad0e50423ff54d89e40fa99f45b207b2b892a4d70211feebe05 kbd-1.15.tar.gz
|
||||
ff2bf7656c4d1c6fdda3b8bebb21f09153a736bcba169aaf65eab25fa113bf3a automake-1.16.3.tar.xz
|
||||
3d991b33e604187c5881a0abc2e102d5b9776da5569640e73778f85d617242e7 make-3.82.tar.gz
|
||||
97ff15f9550c6e85c25173b3cf5c7e89a2d39fb923112f2c8bc2729cf64bf6d8 linux-4.9.10.tar.gz
|
||||
db316ba381e5a9916ace64acf822f0de70a724df06f73c18d79c5d16385a0cf1 deblob-4.9
|
||||
62912c9e999cc25c8cf494533d5bab8c22d9e0ee081649d3c05197b3a096aa3b deblob-check
|
||||
|
|
|
@ -1,164 +0,0 @@
|
|||
#!/usr/bin/env python3
|
||||
"""
|
||||
This file contains a few functions to be shared by all Sys* classes
|
||||
"""
|
||||
|
||||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
import os
|
||||
import hashlib
|
||||
import shutil
|
||||
import glob
|
||||
import subprocess
|
||||
|
||||
import requests
|
||||
|
||||
from lib.utils import mount, umount, get_target, copytree
|
||||
|
||||
class SysGeneral:
|
||||
"""
|
||||
A class from which all Sys* class are extended.
|
||||
Contains functions used in all Sys*
|
||||
"""
|
||||
|
||||
# All of these are variables defined in the individual Sys* classes
|
||||
preserve_tmp = None
|
||||
tmp_dir = None
|
||||
base_dir = None
|
||||
git_dir = None
|
||||
sys_dir = None
|
||||
initramfs_path = None
|
||||
|
||||
def __del__(self):
|
||||
if not self.preserve_tmp:
|
||||
print(f"Unmounting tmpfs from {self.tmp_dir}")
|
||||
umount(self.tmp_dir)
|
||||
os.rmdir(self.tmp_dir)
|
||||
|
||||
def mount_tmpfs(self):
|
||||
"""Mount the tmpfs for this sysx"""
|
||||
if not os.path.isdir(self.tmp_dir):
|
||||
os.mkdir(self.tmp_dir)
|
||||
print(f"Mounting tmpfs on {self.tmp_dir}")
|
||||
mount('tmpfs', self.tmp_dir, 'tmpfs', 'size=8G')
|
||||
|
||||
def check_file(self, file_name):
|
||||
"""Check hash of downloaded source file."""
|
||||
checksum_store = os.path.join(self.git_dir, 'SHA256SUMS.sources')
|
||||
with open(checksum_store, encoding="utf_8") as checksum_file:
|
||||
hashes = checksum_file.read().splitlines()
|
||||
for hash_line in hashes:
|
||||
if os.path.basename(file_name) in hash_line:
|
||||
# Hash is in store, check it
|
||||
expected_hash = hash_line.split()[0]
|
||||
|
||||
with open(file_name, "rb") as downloaded_file:
|
||||
downloaded_content = downloaded_file.read() # read entire file as bytes
|
||||
readable_hash = hashlib.sha256(downloaded_content).hexdigest()
|
||||
if expected_hash == readable_hash:
|
||||
return
|
||||
raise Exception("Checksum mismatch")
|
||||
|
||||
raise Exception("File checksum is not yet recorded")
|
||||
|
||||
def download_file(self, url, file_name=None):
|
||||
"""
|
||||
Download a single source archive.
|
||||
"""
|
||||
cache_dir = os.path.join(self.git_dir, 'sources')
|
||||
|
||||
# Automatically determine file name based on URL.
|
||||
if file_name is None:
|
||||
file_name = os.path.basename(url)
|
||||
abs_file_name = os.path.join(cache_dir, file_name)
|
||||
|
||||
# Create a cache directory for downloaded sources
|
||||
if not os.path.isdir(cache_dir):
|
||||
os.mkdir(cache_dir)
|
||||
|
||||
# Actually download the file
|
||||
if not os.path.isfile(abs_file_name):
|
||||
print(f"Downloading: {file_name}")
|
||||
request = requests.get(url, allow_redirects=True)
|
||||
# pylint: disable=consider-using-with
|
||||
open(abs_file_name, 'wb').write(request.content)
|
||||
|
||||
# Check SHA256 hash
|
||||
self.check_file(abs_file_name)
|
||||
return abs_file_name
|
||||
|
||||
def get_file(self, url, mkbuild=False, output=None):
|
||||
"""
|
||||
Download and prepare source packages
|
||||
|
||||
url can be either:
|
||||
1. a single URL
|
||||
2. list of URLs to download. In this case the first URL is the primary URL
|
||||
from which we derive the name of package directory
|
||||
output can be used to override file name of the downloaded file(s).
|
||||
|
||||
mkbuild=True can be used to pre-create build directories before
|
||||
mkdir is available.
|
||||
"""
|
||||
# Single URL
|
||||
if isinstance(url, str):
|
||||
assert output is None or isinstance(output, str)
|
||||
file_name = url if output is None else output
|
||||
urls = [url]
|
||||
outputs = [output]
|
||||
# Multiple URLs
|
||||
elif isinstance(url, list):
|
||||
assert output is None or len(output) == len(url)
|
||||
file_name = url[0] if output is None else output[0]
|
||||
urls = url
|
||||
outputs = output if output is not None else [None] * len(url)
|
||||
else:
|
||||
raise TypeError("url must be either a string or a list of strings")
|
||||
# Determine installation directory
|
||||
target_name = get_target(file_name)
|
||||
target_src_dir = os.path.join(self.base_dir, target_name, 'src')
|
||||
# Install base files
|
||||
src_tree = os.path.join(self.sys_dir, target_name)
|
||||
copytree(src_tree, self.base_dir)
|
||||
if not os.path.isdir(target_src_dir):
|
||||
os.mkdir(target_src_dir)
|
||||
for i, _ in enumerate(urls):
|
||||
# Download files into cache directory
|
||||
tarball = self.download_file(urls[i], outputs[i])
|
||||
# Install sources into target directory
|
||||
shutil.copy2(tarball, target_src_dir)
|
||||
if mkbuild:
|
||||
os.mkdir(os.path.join(self.base_dir, target_name, 'build'))
|
||||
|
||||
def deploy_sysglobal_files(self):
|
||||
"""Deploy files common to all Sys*"""
|
||||
sysglobal_files = ['bootstrap.cfg', 'helpers.sh']
|
||||
for file in sysglobal_files:
|
||||
shutil.copy2(os.path.join(self.git_dir, 'sysglobal', file),
|
||||
self.base_dir)
|
||||
|
||||
def make_initramfs(self):
|
||||
"""Package binary bootstrap seeds and sources into initramfs."""
|
||||
self.initramfs_path = os.path.join(self.tmp_dir, 'initramfs')
|
||||
|
||||
# Create a list of files to go within the initramfs
|
||||
file_list = glob.glob(os.path.join(self.tmp_dir, '**'), recursive=True)
|
||||
|
||||
# Use built-in removeprefix once we can use Python 3.9
|
||||
def remove_prefix(text, prefix):
|
||||
if text.startswith(prefix):
|
||||
return text[len(prefix):]
|
||||
return text # or whatever
|
||||
|
||||
file_list = [remove_prefix(f, self.tmp_dir + os.sep) for f in file_list]
|
||||
|
||||
# Create the initramfs
|
||||
with open(self.initramfs_path, "w", encoding="utf_8") as initramfs:
|
||||
# pylint: disable=consider-using-with
|
||||
cpio = subprocess.Popen(
|
||||
["cpio", "--format", "newc", "--create",
|
||||
"--directory", self.tmp_dir],
|
||||
stdin=subprocess.PIPE, stdout=initramfs)
|
||||
cpio.communicate(input='\n'.join(file_list).encode())
|
15
lib/utils.py
15
lib/utils.py
|
@ -5,13 +5,13 @@ This file contains a few self-contained helper functions
|
|||
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
|
||||
def run(*args, **kwargs):
|
||||
"""A small wrapper around subprocess.run"""
|
||||
arguments = [str(arg) for arg in args]
|
||||
|
@ -25,19 +25,6 @@ def run(*args, **kwargs):
|
|||
print("Bootstrapping failed")
|
||||
sys.exit(1)
|
||||
|
||||
def create_disk(image, disk_type, fs_type, size):
|
||||
"""Create a disk image, with a filesystem on it"""
|
||||
run('truncate', '-s', size, image)
|
||||
# First find the device we will use, then actually use it
|
||||
loop_dev = run('losetup', '-f', capture_output=True).stdout.decode().strip()
|
||||
run('sudo', 'losetup', loop_dev, image)
|
||||
# Create the partition
|
||||
run('sudo', 'parted', '--script', image, 'mklabel', disk_type, 'mkpart',
|
||||
'primary', 'ext4', '0%', '100%')
|
||||
run('sudo', 'partprobe', loop_dev)
|
||||
run('sudo', 'mkfs.' + fs_type, loop_dev + "p1")
|
||||
return loop_dev
|
||||
|
||||
def mount(source, target, fs_type, options='', **kwargs):
|
||||
"""Mount filesystem"""
|
||||
run('sudo', 'mount', source, target, '-t', fs_type, '-o', options, **kwargs)
|
||||
|
|
101
parts.rst
101
parts.rst
|
@ -535,79 +535,6 @@ gcc 4.0.4
|
|||
|
||||
Rebuild GCC with GCC and also against the latest musl.
|
||||
|
||||
util-linux 2.19.1
|
||||
=================
|
||||
|
||||
``util-linux`` contains a number of general system administration utilities.
|
||||
Most pressingly, we need these for being able to mount disks (for non-chroot
|
||||
mode, but it is built it in chroot mode anyway because it will likely be useful
|
||||
later). The latest version is not used because of autotools/GCC
|
||||
incompatibilities.
|
||||
|
||||
kbd-1.15
|
||||
========
|
||||
|
||||
``kbd`` contains ``loadkeys`` which is required for building the Linux kernel.
|
||||
The 2.x series is not used because it requires particular features of autotools
|
||||
that we do not have avaliable.
|
||||
|
||||
make 3.82
|
||||
=========
|
||||
|
||||
GNU Make is updated by .02. The most notable thing is this is now built properly
|
||||
using the build system and GCC, which means that it does not randomly segfault
|
||||
while building the Linux kernel.
|
||||
|
||||
kexec-tools 2.0.22
|
||||
==================
|
||||
|
||||
``kexec`` is a utility for the Linux kernel that allows the re-execution of the
|
||||
Linux kernel without a manual restart from within a running system. It is a
|
||||
kind of soft-restart. It is only built for non-chroot mode, as we only use it
|
||||
in non-chroot mode. It is used to go into sysb/sysc.
|
||||
|
||||
create_sysb
|
||||
===========
|
||||
|
||||
The next step is not a package, but the creation of the sysb rootfs, containing
|
||||
all of the scripts for sysb (which merely move to sysc). Again, this is only
|
||||
done in non-chroot mode, because sysb does not exist in chroot mode.
|
||||
|
||||
Linux kernel 4.9.10
|
||||
===================
|
||||
|
||||
A lot going on here. This is the first (and currently only) time the Linux kernel
|
||||
is built. Firstly, Linux kernel version 4.9.x is used because newer versions
|
||||
require much more stringent requirements on the make, GCC, binutils versions.
|
||||
However, the docs are also wrong, as the latest of the 4.9.x series does not
|
||||
work with our version of binutils. However, a much earlier 4.9.10 does
|
||||
(selected arbitarily, could go newer but did not test), with a small amount
|
||||
of patching. This is also modern enough for most hardware and to cause few
|
||||
problems with software built in sysc. Secondly, the linux-libre scripts are used
|
||||
to deblob the kernel. Unauditable, unbootstrappable binary blobs within our
|
||||
kernel are unacceptable. Our gawk is too buggy/old so we use sed instead for
|
||||
this operation. Every other pregenerated file is appended with ``_shipped`` so
|
||||
we use a ``find`` command to remove those, which are automatically regenerated.
|
||||
The kernel config was originally taken from Void Linux, and was then modified
|
||||
for the requirements of live-bootstrap, including compiler features, drivers,
|
||||
and removing modules. Speaking of which, modules cannot be used. These cannot
|
||||
be transferred to subsequent systems, and we do not have ``modprobe``. Lastly,
|
||||
the initramfs of sysb is generated in this stage, using ``gen_init_cpio`` within
|
||||
the Linux kernel tree. This avoids the compilation of ``cpio`` as well.
|
||||
|
||||
go_sysb
|
||||
=======
|
||||
|
||||
This is the last step of sysa, run for non-chroot mode. It uses kexec to load
|
||||
the new Linux kernel into RAM and execute it, moving into sysb.
|
||||
|
||||
sysb
|
||||
====
|
||||
|
||||
sysb is purely a transition to sysc, allowing binaries from sysa to get onto a
|
||||
disk (as sysa does not nessecarily have hard disk support in the kernel).
|
||||
It populates device nodes, mounts sysc, copies over data, and executes sysc.
|
||||
|
||||
bash 5.1
|
||||
========
|
||||
|
||||
|
@ -785,31 +712,3 @@ libunistring 0.9.10
|
|||
|
||||
Library for manipulating Unicode and C strings according to Unicode standard. This
|
||||
is a dependency of GNU Guile.
|
||||
|
||||
libffi 3.3
|
||||
==========
|
||||
|
||||
The libffi library provides a portable, high level programming interface to various
|
||||
calling conventions.
|
||||
|
||||
libatomic_ops 7.6.10
|
||||
====================
|
||||
|
||||
``libatomic_ops`` provides semi-portable access to hardware-provided atomic memory
|
||||
update operations on a number of architectures.
|
||||
|
||||
boehm-gc 8.0.4
|
||||
==============
|
||||
|
||||
The Boehm-Demers-Weiser conservative garbage collector can be used as a garbage
|
||||
collecting replacement for C malloc or C++ new.
|
||||
|
||||
guile 3.0.7
|
||||
===========
|
||||
|
||||
GNU Ubiquitous Intelligent Language for Extensions (GNU Guile) is the preferred
|
||||
extension language system for the GNU Project and features an implementation
|
||||
of the programming language Scheme.
|
||||
|
||||
We use ``guile-psyntax-bootstrapping`` project to bootstrap Guile's ``psyntax.pp``
|
||||
without relying on pre-expanded code.
|
||||
|
|
89
rootfs.py
89
rootfs.py
|
@ -10,28 +10,16 @@ you can run bootstap inside chroot.
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
# SPDX-FileCopyrightText: 2021 Bastian Bittorf <bb@npl.de>
|
||||
# SPDX-FileCopyrightText: 2021 Melg Eight <public.melg8@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
import argparse
|
||||
import glob
|
||||
import os
|
||||
import subprocess
|
||||
import shutil
|
||||
|
||||
from sysa import SysA
|
||||
from sysb import SysB
|
||||
from sysc import SysC
|
||||
from lib.utils import run
|
||||
|
||||
def create_configuration_file(args):
|
||||
"""
|
||||
Creates bootstrap.cfg file which would contain options used to
|
||||
customize bootstrap.
|
||||
"""
|
||||
config_path = os.path.join('sysglobal', 'bootstrap.cfg')
|
||||
with open(config_path, "w", encoding="utf_8") as config:
|
||||
config.write("FORCE_TIMESTAMPS=" + str(args.force_timestamps) + "\n")
|
||||
config.write("CHROOT=" + str(args.chroot) + "\n")
|
||||
config.write("DISK=sda1\n")
|
||||
|
||||
def main():
|
||||
"""
|
||||
A few command line arguments to customize bootstrap.
|
||||
|
@ -68,20 +56,35 @@ def main():
|
|||
if args.arch != "x86":
|
||||
raise ValueError("Only x86 is supported at the moment.")
|
||||
|
||||
create_configuration_file(args)
|
||||
system_a = SysA(arch=args.arch, preserve_tmp=args.preserve, tmpdir=args.tmpdir,
|
||||
force_timestamps=args.force_timestamps)
|
||||
initramfs_path = os.path.join(system_a.tmp_dir, "initramfs")
|
||||
|
||||
system_b = SysB(arch=args.arch, preserve_tmp=args.preserve,
|
||||
tmpdir=args.tmpdir, chroot=args.chroot)
|
||||
system_a = SysA(arch=args.arch, preserve_tmp=args.preserve,
|
||||
tmpdir=args.tmpdir, chroot=args.chroot, sysb_tmp=system_b.tmp_dir)
|
||||
system_c = SysC(arch=args.arch, preserve_tmp=args.preserve,
|
||||
tmpdir=args.tmpdir, chroot=args.chroot)
|
||||
if not args.chroot:
|
||||
make_initramfs(system_a.tmp_dir, initramfs_path)
|
||||
|
||||
bootstrap(args, system_a, system_b, system_c)
|
||||
bootstrap(args, system_a.tmp_dir, initramfs_path)
|
||||
|
||||
def bootstrap(args, system_a, system_b, system_c):
|
||||
def make_initramfs(tmp_dir, initramfs_path):
|
||||
"""Package binary bootstrap seeds and sources into initramfs."""
|
||||
file_list = glob.glob(os.path.join(tmp_dir, '**'), recursive=True)
|
||||
|
||||
# Use built-in removeprefix once we can use Python 3.9
|
||||
def remove_prefix(text, prefix):
|
||||
if text.startswith(prefix):
|
||||
return text[len(prefix):]
|
||||
return text # or whatever
|
||||
|
||||
file_list = [remove_prefix(f, tmp_dir + os.sep) for f in file_list]
|
||||
|
||||
with open(initramfs_path, "w") as initramfs:
|
||||
cpio = subprocess.Popen(["cpio", "--format", "newc", "--create", "--directory", tmp_dir],
|
||||
stdin=subprocess.PIPE, stdout=initramfs)
|
||||
cpio.communicate(input='\n'.join(file_list).encode())
|
||||
|
||||
def bootstrap(args, tmp_dir, initramfs_path):
|
||||
"""Kick off bootstrap process."""
|
||||
print(f"Bootstrapping {args.arch} -- SysA")
|
||||
print("Bootstrapping %s" % (args.arch))
|
||||
if args.chroot:
|
||||
find_chroot = """
|
||||
import shutil
|
||||
|
@ -89,19 +92,11 @@ print(shutil.which('chroot'))
|
|||
"""
|
||||
chroot_binary = run('sudo', 'python3', '-c', find_chroot,
|
||||
capture_output=True).stdout.decode().strip()
|
||||
# sysa
|
||||
init = os.path.join(os.sep, 'bootstrap-seeds', 'POSIX', args.arch, 'kaem-optional-seed')
|
||||
run('sudo', 'env', '-i', 'PATH=/bin', chroot_binary, system_a.tmp_dir, init)
|
||||
# Perform the steps for sysa -> sysc transition that would occur within
|
||||
# qemu if we were running not in chroot
|
||||
# We skip sysb as that is only pertinent to "hardware" (not chroot)
|
||||
system_c.chroot_transition(system_a.tmp_dir)
|
||||
# sysc
|
||||
print(f"Bootstrapping {args.arch} -- SysC")
|
||||
init = os.path.join(os.sep, 'init')
|
||||
run('sudo', chroot_binary, system_c.tmp_dir, init)
|
||||
run('sudo', 'env', '-i', 'PATH=/bin', chroot_binary, tmp_dir, init)
|
||||
return
|
||||
|
||||
elif args.minikernel:
|
||||
if args.minikernel:
|
||||
if os.path.isdir('kritis-linux'):
|
||||
shutil.rmtree('kritis-linux')
|
||||
|
||||
|
@ -116,21 +111,19 @@ print(shutil.which('chroot'))
|
|||
'--qemucpu', '486',
|
||||
'--kernel', '3.18.140',
|
||||
'--features', 'kflock,highrestimers',
|
||||
# Hack to add -hda /dev/blah
|
||||
'--ramsize', str(args.qemu_ram) + 'M -hda ' + system_b.dev_name,
|
||||
'--initrd', system_a.initramfs_path,
|
||||
'--ramsize', str(args.qemu_ram) + 'M',
|
||||
'--initrd', initramfs_path,
|
||||
'--log', '/tmp/bootstrap.log')
|
||||
return
|
||||
|
||||
else:
|
||||
run(args.qemu_cmd,
|
||||
'-enable-kvm',
|
||||
'-m', str(args.qemu_ram) + 'M',
|
||||
'-no-reboot',
|
||||
'-hda', system_c.dev_name,
|
||||
'-kernel', args.kernel,
|
||||
'-initrd', system_a.initramfs_path,
|
||||
'-nographic',
|
||||
'-append', 'console=ttyS0')
|
||||
run(args.qemu_cmd,
|
||||
'-enable-kvm',
|
||||
'-m', str(args.qemu_ram) + 'M',
|
||||
'-nographic',
|
||||
'-no-reboot',
|
||||
'-kernel', args.kernel,
|
||||
'-initrd', initramfs_path,
|
||||
'-append', "console=ttyS0")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
266
sysa.py
266
sysa.py
|
@ -3,40 +3,131 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
# SPDX-FileCopyrightText: 2021 Melg Eight <public.melg8@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
from distutils.dir_util import copy_tree
|
||||
import shutil
|
||||
|
||||
from lib.utils import copytree
|
||||
from lib.sysgeneral import SysGeneral
|
||||
import requests
|
||||
|
||||
# pylint: disable=consider-using-with
|
||||
class SysA(SysGeneral):
|
||||
from lib.utils import mount, umount, copytree, get_target
|
||||
|
||||
|
||||
class SysA:
|
||||
"""
|
||||
Class responsible for preparing sources for System A.
|
||||
"""
|
||||
# pylint: disable=too-many-instance-attributes,too-many-arguments
|
||||
def __init__(self, arch, preserve_tmp, tmpdir, chroot, sysb_tmp):
|
||||
def __init__(self, arch, preserve_tmp, tmpdir, force_timestamps):
|
||||
self.git_dir = os.path.dirname(os.path.join(__file__))
|
||||
self.arch = arch
|
||||
self.preserve_tmp = preserve_tmp
|
||||
|
||||
self.sys_dir = os.path.join(self.git_dir, 'sysa')
|
||||
if tmpdir is None:
|
||||
self.tmp_dir = os.path.join(self.sys_dir, 'tmp')
|
||||
self.tmp_dir = os.path.join(self.git_dir, 'sysa', 'tmp')
|
||||
else:
|
||||
self.tmp_dir = os.path.join(tmpdir, 'sysa')
|
||||
os.mkdir(self.tmp_dir)
|
||||
self.tmp_dir = tmpdir
|
||||
self.sysa_dir = os.path.join(self.git_dir, 'sysa')
|
||||
self.after_dir = os.path.join(self.tmp_dir, 'after')
|
||||
self.base_dir = self.after_dir
|
||||
self.sysb_tmp = sysb_tmp
|
||||
self.force_timestamps = force_timestamps
|
||||
|
||||
self.prepare()
|
||||
|
||||
if not chroot:
|
||||
self.make_initramfs()
|
||||
def __del__(self):
|
||||
if not self.preserve_tmp:
|
||||
print("Unmounting tmpfs from %s" % (self.tmp_dir))
|
||||
umount(self.tmp_dir)
|
||||
os.rmdir(self.tmp_dir)
|
||||
|
||||
def check_file(self, file_name):
|
||||
"""Check hash of downloaded source file."""
|
||||
checksum_store = os.path.join(self.git_dir, 'SHA256SUMS.sources')
|
||||
with open(checksum_store) as checksum_file:
|
||||
hashes = checksum_file.read().splitlines()
|
||||
for hash_line in hashes:
|
||||
if os.path.basename(file_name) in hash_line:
|
||||
# Hash is in store, check it
|
||||
expected_hash = hash_line.split()[0]
|
||||
|
||||
with open(file_name, "rb") as downloaded_file:
|
||||
downloaded_content = downloaded_file.read() # read entire file as bytes
|
||||
readable_hash = hashlib.sha256(downloaded_content).hexdigest()
|
||||
if expected_hash == readable_hash:
|
||||
return
|
||||
raise Exception("Checksum mismatch")
|
||||
|
||||
raise Exception("File checksum is not yet recorded")
|
||||
|
||||
def download_file(self, url, file_name=None):
|
||||
"""
|
||||
Download a single source archive.
|
||||
"""
|
||||
cache_dir = os.path.join(self.git_dir, 'sources')
|
||||
|
||||
# Automatically determine file name based on URL.
|
||||
if file_name is None:
|
||||
file_name = os.path.basename(url)
|
||||
abs_file_name = os.path.join(cache_dir, file_name)
|
||||
|
||||
# Create a cache directory for downloaded sources
|
||||
if not os.path.isdir(cache_dir):
|
||||
os.mkdir(cache_dir)
|
||||
|
||||
# Actually download the file
|
||||
if not os.path.isfile(abs_file_name):
|
||||
print("Downloading: %s" % (file_name))
|
||||
response = requests.get(url, allow_redirects=True, stream=True)
|
||||
if response.status_code == 200:
|
||||
with open(abs_file_name, 'wb') as target_file:
|
||||
target_file.write(response.raw.read())
|
||||
else:
|
||||
raise Exception("Download failed.")
|
||||
|
||||
# Check SHA256 hash
|
||||
self.check_file(abs_file_name)
|
||||
return abs_file_name
|
||||
|
||||
def get_file(self, url, output=None):
|
||||
"""
|
||||
Download and prepare source packages
|
||||
|
||||
url can be either:
|
||||
1. a single URL
|
||||
2. list of URLs to download. In this case the first URL is the primary URL
|
||||
from which we derive the name of package directory
|
||||
output can be used to override file name of the downloaded file(s).
|
||||
"""
|
||||
# Single URL
|
||||
if isinstance(url, str):
|
||||
assert output is None or isinstance(output, str)
|
||||
file_name = url if output is None else output
|
||||
urls = [url]
|
||||
outputs = [output]
|
||||
# Multiple URLs
|
||||
elif isinstance(url, list):
|
||||
assert output is None or len(output) == len(url)
|
||||
file_name = url[0] if output is None else output[0]
|
||||
urls = url
|
||||
outputs = output if output is not None else [None] * len(url)
|
||||
else:
|
||||
raise TypeError("url must be either a string or a list of strings")
|
||||
|
||||
# Determine installation directory
|
||||
target_name = get_target(file_name)
|
||||
target_src_dir = os.path.join(self.after_dir, target_name, 'src')
|
||||
|
||||
# Install base files
|
||||
src_tree = os.path.join(self.sysa_dir, target_name)
|
||||
copytree(src_tree, self.after_dir)
|
||||
if not os.path.isdir(target_src_dir):
|
||||
os.mkdir(target_src_dir)
|
||||
|
||||
for i, _ in enumerate(urls):
|
||||
# Download files into cache directory
|
||||
tarball = self.download_file(urls[i], outputs[i])
|
||||
|
||||
# Install sources into target directory
|
||||
shutil.copy2(tarball, target_src_dir)
|
||||
|
||||
def prepare(self):
|
||||
"""
|
||||
|
@ -44,23 +135,17 @@ class SysA(SysGeneral):
|
|||
We create an empty tmpfs, unpack stage0-posix.
|
||||
Rest of the files are unpacked into more structured directory /after
|
||||
"""
|
||||
self.mount_tmpfs()
|
||||
os.mkdir(self.after_dir)
|
||||
if not os.path.isdir(self.tmp_dir):
|
||||
os.mkdir(self.tmp_dir)
|
||||
print("Mounting tmpfs on %s" % (self.tmp_dir))
|
||||
mount('tmpfs', self.tmp_dir, 'tmpfs', 'size=8G')
|
||||
|
||||
self.stage0_posix()
|
||||
self.after()
|
||||
|
||||
# sysb must be added to sysa as it is another initramfs stage
|
||||
self.sysb()
|
||||
|
||||
def sysb(self):
|
||||
"""Copy in sysb files for sysb."""
|
||||
shutil.copytree(self.sysb_tmp, os.path.join(self.tmp_dir, 'sysb'),
|
||||
shutil.ignore_patterns('tmp'))
|
||||
|
||||
def stage0_posix(self):
|
||||
"""Copy in all of the stage0-posix"""
|
||||
stage0_posix_base_dir = os.path.join(self.sys_dir, 'stage0-posix', 'src')
|
||||
stage0_posix_base_dir = os.path.join(self.sysa_dir, 'stage0-posix', 'src')
|
||||
stage0_posix_arch_dir = os.path.join(stage0_posix_base_dir, self.arch)
|
||||
copy_tree(stage0_posix_arch_dir, self.tmp_dir)
|
||||
|
||||
|
@ -81,14 +166,14 @@ class SysA(SysGeneral):
|
|||
copytree(mescc_tools_extra_dir, self.tmp_dir)
|
||||
|
||||
# bootstrap seeds
|
||||
bootstrap_seeds_dir = os.path.join(self.sys_dir, 'stage0-posix', 'src', 'bootstrap-seeds')
|
||||
bootstrap_seeds_dir = os.path.join(self.sysa_dir, 'stage0-posix', 'src', 'bootstrap-seeds')
|
||||
copytree(bootstrap_seeds_dir, self.tmp_dir)
|
||||
kaem_optional_seed = os.path.join(bootstrap_seeds_dir, 'POSIX',
|
||||
self.arch, 'kaem-optional-seed')
|
||||
shutil.copy2(kaem_optional_seed, os.path.join(self.tmp_dir, 'init'))
|
||||
|
||||
# stage0-posix hook to continue running live-bootstrap
|
||||
shutil.copy2(os.path.join(self.sys_dir, 'after.kaem'),
|
||||
shutil.copy2(os.path.join(self.sysa_dir, 'after.kaem'),
|
||||
os.path.join(self.tmp_dir, 'after.kaem'))
|
||||
|
||||
# create directories needed
|
||||
|
@ -105,15 +190,25 @@ class SysA(SysGeneral):
|
|||
the stage0-posix one is hella messy.
|
||||
"""
|
||||
|
||||
self.create_configuration_file()
|
||||
self.deploy_extra_files()
|
||||
self.deploy_sysglobal_files()
|
||||
self.get_packages()
|
||||
|
||||
def create_configuration_file(self):
|
||||
"""
|
||||
Creates bootstrap.cfg file which would contain options used to
|
||||
customize bootstrap.
|
||||
"""
|
||||
os.mkdir(self.after_dir)
|
||||
config_path = os.path.join(self.after_dir, "bootstrap.cfg")
|
||||
with open(config_path, "w") as config:
|
||||
config.write("FORCE_TIMESTAMPS=" + str(self.force_timestamps))
|
||||
|
||||
def deploy_extra_files(self):
|
||||
"""Deploy misc files"""
|
||||
extra_files = ['run.sh']
|
||||
extra_files = ['helpers.sh', 'run.sh', 'run2.sh']
|
||||
for extra_file in extra_files:
|
||||
shutil.copy2(os.path.join(self.sys_dir, extra_file), self.after_dir)
|
||||
shutil.copy2(os.path.join(self.sysa_dir, extra_file), self.after_dir)
|
||||
|
||||
shutil.copy2(os.path.join(self.git_dir, 'SHA256SUMS.sources'), self.after_dir)
|
||||
|
||||
|
@ -272,31 +367,100 @@ class SysA(SysGeneral):
|
|||
self.get_file("https://mirrors.kernel.org/gnu/autoconf/autoconf-2.64.tar.bz2")
|
||||
|
||||
# gcc 4.0.4
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/gcc/gcc-4.0.4/gcc-core-4.0.4.tar.bz2",
|
||||
"https://mirrors.kernel.org/gnu/automake/automake-1.16.3.tar.gz"],
|
||||
output=["gcc-4.0.4.tar.bz2", "automake-1.16.3.tar.gz"])
|
||||
|
||||
# linux api headers 5.10.41
|
||||
self.get_file("https://mirrors.kernel.org/pub/linux/kernel/v5.x/linux-5.10.41.tar.gz",
|
||||
output="linux-headers-5.10.41.tar.gz")
|
||||
self.get_file("https://mirrors.kernel.org/gnu/gcc/gcc-4.0.4/gcc-core-4.0.4.tar.bz2",
|
||||
output="gcc-4.0.4.tar.bz2")
|
||||
|
||||
# musl 1.2.2
|
||||
self.get_file("https://musl.libc.org/releases/musl-1.2.2.tar.gz")
|
||||
|
||||
# util-linux 2.19.1
|
||||
self.get_file("https://mirrors.kernel.org/pub/linux/utils/util-linux/v2.19/util-linux-2.19.1.tar.gz")
|
||||
# bash 5.1
|
||||
self.get_file("https://mirrors.kernel.org/gnu/bash/bash-5.1.tar.gz")
|
||||
|
||||
# kexec-tools 2.0.22
|
||||
self.get_file("https://github.com/horms/kexec-tools/archive/refs/tags/v2.0.22.tar.gz",
|
||||
output="kexec-tools-2.0.22.tar.gz")
|
||||
# xz 5.0.5
|
||||
self.get_file("https://tukaani.org/xz/xz-5.0.5.tar.bz2")
|
||||
|
||||
# kbd 1.15
|
||||
self.get_file("https://mirrors.edge.kernel.org/pub/linux/utils/kbd/kbd-1.15.tar.gz")
|
||||
# automake 1.11.2
|
||||
self.get_file("https://mirrors.kernel.org/gnu/automake/automake-1.11.2.tar.bz2")
|
||||
|
||||
# make 3.82
|
||||
self.get_file("http://ftp.gnu.org/gnu/make/make-3.82.tar.gz")
|
||||
# autoconf 2.69
|
||||
self.get_file("https://mirrors.kernel.org/gnu/autoconf/autoconf-2.69.tar.xz")
|
||||
|
||||
# linux kernel 2.6.16.62
|
||||
self.get_file(["https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.9.10.tar.gz",
|
||||
"http://linux-libre.fsfla.org/pub/linux-libre/releases/4.9.10-gnu/deblob-4.9",
|
||||
"http://linux-libre.fsfla.org/pub/linux-libre/releases/4.9.10-gnu/deblob-check"])
|
||||
# automake 1.15.1
|
||||
self.get_file("https://mirrors.kernel.org/gnu/automake/automake-1.15.1.tar.xz")
|
||||
|
||||
# tar 1.34
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/tar/tar-1.34.tar.xz",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-30820c.tar.gz"])
|
||||
|
||||
# coreutils 8.32
|
||||
self.get_file(["https://git.savannah.gnu.org/cgit/coreutils.git/snapshot/coreutils-8.32.tar.gz",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-d279bc.tar.gz"])
|
||||
|
||||
# pkg-config 0.29.2
|
||||
self.get_file("https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz")
|
||||
|
||||
# make 4.2.1
|
||||
self.get_file("https://ftp.gnu.org/gnu/make/make-4.2.1.tar.gz")
|
||||
|
||||
# gmp 6.2.1
|
||||
self.get_file("https://mirrors.kernel.org/gnu/gmp/gmp-6.2.1.tar.xz")
|
||||
|
||||
# autoconf archive 2021.02.19
|
||||
self.get_file("https://mirrors.kernel.org/gnu/autoconf-archive/autoconf-archive-2021.02.19.tar.xz")
|
||||
|
||||
# mpfr 4.1.0
|
||||
self.get_file("https://mirrors.kernel.org/gnu/mpfr/mpfr-4.1.0.tar.xz")
|
||||
|
||||
# mpc 1.2.1
|
||||
self.get_file("https://mirrors.kernel.org/gnu/mpc/mpc-1.2.1.tar.gz")
|
||||
|
||||
# flex 2.5.33
|
||||
self.get_file("http://download.nust.na/pub2/openpkg1/sources/DST/flex/flex-2.5.33.tar.gz")
|
||||
|
||||
# bison 2.3
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/bison/bison-2.3.tar.bz2",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-b28236b.tar.gz"])
|
||||
|
||||
# bison 3.4.2
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/bison/bison-3.4.2.tar.xz",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-672663a.tar.gz"])
|
||||
|
||||
# perl 5.10.5
|
||||
self.get_file("https://www.cpan.org/src/5.0/perl-5.10.1.tar.bz2")
|
||||
|
||||
# dist 3.5-236
|
||||
# Debian's version is used because upstream is not to be found (dead?)
|
||||
self.get_file("https://salsa.debian.org/perl-team/interpreter/dist/-/archive/d1de81f/dist-d1de81f.tar.gz",
|
||||
output="dist-3.5-236.tar.gz")
|
||||
|
||||
# perl 5.32.1
|
||||
self.get_file(["https://www.cpan.org/src/5.0/perl-5.32.1.tar.xz",
|
||||
"https://salsa.debian.org/perl-team/interpreter/perl/-/archive/5f2dc80/perl-5f2dc80.tar.bz2"])
|
||||
|
||||
# automake 1.16.3
|
||||
self.get_file("https://mirrors.kernel.org/gnu/automake/automake-1.16.3.tar.gz")
|
||||
|
||||
# patch 2.7.6
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/patch/patch-2.7.6.tar.xz",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-e017871.tar.gz"])
|
||||
|
||||
# gettext 0.21
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/gettext/gettext-0.21.tar.xz",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-7daa86f.tar.gz"])
|
||||
|
||||
# texinfo 6.7
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/texinfo/texinfo-6.7.tar.xz",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-b81ec69.tar.gz"])
|
||||
|
||||
# zlib 1.2.11
|
||||
self.get_file("https://www.zlib.net/zlib-1.2.11.tar.xz")
|
||||
|
||||
# gcc 4.7.4
|
||||
self.get_file("https://mirrors.kernel.org/gnu/gcc/gcc-4.7.4/gcc-4.7.4.tar.bz2")
|
||||
|
||||
# gperf 3.1
|
||||
self.get_file("https://mirrors.kernel.org/gnu/gperf/gperf-3.1.tar.gz")
|
||||
|
||||
# libunistring 0.9.10
|
||||
self.get_file(["https://mirrors.kernel.org/gnu/libunistring/libunistring-0.9.10.tar.xz",
|
||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-52a06cb3.tar.gz"])
|
||||
|
|
|
@ -12,7 +12,7 @@ PATH=/bin
|
|||
|
||||
# Set commonly used variables
|
||||
sources=/after
|
||||
prefix=/usr
|
||||
prefix=/image
|
||||
bindir=${prefix}/bin
|
||||
libdir=${prefix}/lib
|
||||
incdir=${prefix}/include
|
||||
|
@ -23,7 +23,8 @@ NYACC_PKG=nyacc-1.00.2
|
|||
MES_PKG=mes
|
||||
MES_PREFIX=${sources}/${MES_PKG}/src/mes-m2-a7522f26ee020dc498219d0122ea1b7d345bcdd5
|
||||
GUILE_LOAD_PATH=${MES_PREFIX}/mes/module:${MES_PREFIX}/module:${sources}/${MES_PKG}/src/${NYACC_PKG}/module
|
||||
mkdir ${prefix} ${bindir} ${libdir} ${incdir} ${tmpdir}
|
||||
|
||||
mkdir ${bindir} ${libdir} ${incdir} ${tmpdir}
|
||||
cd ${prefix}
|
||||
|
||||
# Remove remaining dependencies on /bin (stage0-posix directory)
|
||||
|
@ -32,14 +33,15 @@ cp /bin/catm bin/catm
|
|||
cp /bin/chmod bin/chmod
|
||||
cp /bin/get_machine bin/get_machine
|
||||
cp /bin/hex2 bin/hex2
|
||||
cp /bin/kaem ${bindir}/kaem
|
||||
cp /bin/kaem bin/kaem
|
||||
cp /bin/M1 bin/M1
|
||||
cp /bin/M2-Planet bin/M2-Planet
|
||||
cp /bin/mkdir bin/mkdir
|
||||
cp /bin/sha256sum bin/sha256sum
|
||||
cp /bin/ungz bin/ungz
|
||||
cp /bin/untar bin/untar
|
||||
cp /bin/cp bin/cp
|
||||
|
||||
cp /bin/cp ${prefix}/bin/cp
|
||||
|
||||
chmod 755 bin/blood-elf
|
||||
chmod 755 bin/catm
|
||||
|
@ -55,7 +57,7 @@ chmod 755 bin/sha256sum
|
|||
chmod 755 bin/ungz
|
||||
chmod 755 bin/untar
|
||||
|
||||
PATH=${bindir}
|
||||
PATH=${prefix}/bin
|
||||
|
||||
cd ${sources}
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
4605c6f97ea53889b5b7bbdebbd8209f29142f1c8ec25c759ef8500b0501ca5e /usr/bin/bash
|
||||
af075793e3992c4da992814641e92f8dd5e7d0454f1ace58bcd6ed54fb86cfa9 /image/bin/bash
|
||||
|
|
|
@ -30,6 +30,4 @@ src_configure() {
|
|||
src_install() {
|
||||
# Do not install prebuilt .mo translation catalogs
|
||||
install bash "${DESTDIR}${PREFIX}/bin"
|
||||
# Work around weird symlink bug
|
||||
install bash "${DESTDIR}${PREFIX}/bin/sh"
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
7b56621ecdc96fdde8863bea6e6ca903ab35619d0a453d906ed4dfc7d2c68e4d /image/bin/bash
|
|
@ -1,19 +1,19 @@
|
|||
85de1f0626450cf9002855c06be0e0da6bb55989f370e7ebd2054449bf53a0df /usr/bin/ar
|
||||
e1949d4d9fad1330bd0db1185aed915c4261d81f59d825208b77cfc7ef53a5d9 /usr/bin/as
|
||||
eb43f2a231a680bd8a41baaa766b23fdc98c33359b18271708b61dba12b39575 /usr/bin/c++filt
|
||||
54136ec4a3e957639e26b443acdda6a1b41da511ac44e8126c429b5be8b3137c /usr/bin/gprof
|
||||
a2f6c731542c5bbe554d369661be33f37d5017c2145d6848f33e43d80604ae93 /usr/bin/ld
|
||||
00d840cd3b0d5a4ec5a577b0ccd796ba42e569117f9827bcdbc388dcd2c04169 /usr/bin/nm
|
||||
893f9742bc2002c8175f33cdb9fb1e963faef74196bd68d9239f1de2b0211927 /usr/bin/objcopy
|
||||
997747e8321155d96a090f56f85aea1ef456c5f58d0a5f38a6a7021bfaea2379 /usr/bin/objdump
|
||||
e49bba1ea6a61fb90f754e8de4692ed0810e7c68429f0b22fbf37670607a7807 /usr/bin/od
|
||||
06e5089e14fa1b5413892b0f4ecc6fb9734ba0f59f6ba9506877d31b1c4ac653 /usr/bin/ranlib
|
||||
a24dd433dfad44c3045b512d8e4170e2fec309bbf66ddd6ac501709749d19920 /usr/bin/readelf
|
||||
ca55356ddddd58ac146a5073f114019354eccbfb761fd800265717c986b57d87 /usr/bin/size
|
||||
856a22fda1db00fb3ab785fd7255ba5e1d3389ae691327304ded03f19bb1af9e /usr/bin/strings
|
||||
66a92ba55f92b3db2b1229ced0144192ac4f3b36ba3d4fd0a2011c2fbd8127a2 /usr/bin/strip
|
||||
97ed2674127a3ff1201ee2b69bcd336a3e7f9396b58f0264d6cd6f08e3908e43 /usr/lib/musl/libbfd.a
|
||||
e1636c430ebe933462df742d9eec18e0e8ba73dafde763429a6b63ff70612afc /usr/lib/musl/libbfd.la
|
||||
8bfe163be82996810f105bcd158f9a207c61438db7a7c58306cfd80f2462c35a /usr/lib/musl/libiberty.a
|
||||
d39bbca00ea43af8a80d0b3f7e2aaabee1e571dd976d17ded01c5972fb5b4ff8 /usr/lib/musl/libopcodes.a
|
||||
3cb39a86c59f72affc6defe90d4e3c585ffedeb47a8f9bfc015be9b85a04ff7a /usr/lib/musl/libopcodes.la
|
||||
a64dd48319724c048a7523b030068b6d82d231c9e993e936b9dda784bc59287d /image/bin/ar
|
||||
396a7acf5eb4c4a52acb61671979c3d7f3168e05498684a6a4e933e96776929d /image/bin/as
|
||||
3898cc265c6818f65e1ce84eb555d2b67e5ea68c717f08e216f22fa7b53d1304 /image/bin/c++filt
|
||||
a79a4a95e394e5521fe8ba426c1d9ffb7965f20767a7a25123072fc1056ffc4c /image/bin/gprof
|
||||
8e8c53332d444c4810631a0a304118878eacb1fd730aa978ef24d81a72cfa723 /image/bin/ld
|
||||
b1d0920558097413c45da60ac2e7210b8eaf97090d28211593b929a8e8ac56b7 /image/bin/nm
|
||||
3816b868f47e1812b50c2a887ff8fbebcf51eb143f78e79427750b097d1c6360 /image/bin/objcopy
|
||||
5ae33d450c5f9b993b979ff298ffd57b20cb316e21c16dfbca473dcc1a3dac24 /image/bin/objdump
|
||||
e49bba1ea6a61fb90f754e8de4692ed0810e7c68429f0b22fbf37670607a7807 /image/bin/od
|
||||
f909e690a1256861252c389a978e7561bba317415ae0805735a12ee1a92c16c2 /image/bin/ranlib
|
||||
e8dbc4ff1642541d0789a3accbe52c7b71888cd85ec9a9e82f50dc0b6bf8346f /image/bin/readelf
|
||||
c61846e74119fd105684cdcbc2f5e31aa47cf090dfe6bf4d1ba6101e75f5fe8c /image/bin/size
|
||||
d26d4b1fc92dbd16da852598caee35981283b52a00c0a9df5dadf3f91c75d2de /image/bin/strings
|
||||
015587bd00f9451a58e1fb26e38e52ab08e016da44e577276045742a1be76d71 /image/bin/strip
|
||||
a5d224d76b8604550917b0c5e17473054b175a0dc9ecd7055a4522ab3a06f2a1 /image/lib/musl/libbfd.a
|
||||
4e2bb9a8d3c4b377112f1299b1954764e5db63b83586a95d072ffd5e2efb45ae /image/lib/musl/libbfd.la
|
||||
2d1dba5dd076ebf57c68e4a7ae759d4ba50ca34d4f2731c6cfec914cfa923a44 /image/lib/musl/libiberty.a
|
||||
cf374d1cb063913333f586b1b51f865671e5527a9991db022739d2b9fe47a0f7 /image/lib/musl/libopcodes.a
|
||||
8f1fd8389fe5e28d20d91c50fd10ae210afe5730a8ae39d0cec600aca1fe614a /image/lib/musl/libopcodes.la
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
5f32418b2681b9c26a845689d9761f0c28bbaadce32c58d6b203f4ad8ebe0234 /image/bin/bison-2.3
|
|
@ -1 +1 @@
|
|||
bf1386d70d56dd169e97bdeaa6282592de830d0e262db59de0451adfd0f9125b /usr/bin/bison
|
||||
375c28f9c28072578cf423cb7e090a083beb142759ab5ea2e22a6f8c196e23c6 /image/bin/bison
|
||||
|
|
|
@ -1 +1 @@
|
|||
253ee303e001ee8faa25066e8259595e5dd85209aa1ec947c58a6880d7d86e1b /usr/bin/bison
|
||||
6045f624843821108ebaf808e7e6abebb17a7353562e41c2514422035b8bd7c7 /image/bin/bison
|
||||
|
|
|
@ -1 +1 @@
|
|||
dd14d6c43beb638a389e91d967589b193d0faf80572db044464440835f1040c6 /usr/bin/bison
|
||||
48f41785497a059ae4a565161f4b7226016055803a7c19bbe7600c67d3085550 /image/bin/bison
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// SPDX-FileCopyrightText: 2020 Andrius Štikonas <andrius@stikonas.eu>
|
||||
// SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
|
@ -10,7 +9,7 @@
|
|||
#define HAVE_SNPRINTF 1
|
||||
#define HAVE_STDINT_H 1
|
||||
#define HAVE_UNISTD_H 1
|
||||
#define M4 "/usr/bin/m4"
|
||||
#define M4 "/image/bin/m4"
|
||||
#define M4_GNU_OPTION ""
|
||||
#define PACKAGE "bison"
|
||||
#define PACKAGE_BUGREPORT "bug-bison@gnu.org"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-FileCopyrightText: 2020 Andrius Štikonas <andrius@stikonas.eu>
|
||||
// SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
#define LOCALEDIR "/usr/share/locale"
|
||||
#define PKGDATADIR "/usr/share/bison"
|
||||
#define LOCALEDIR "/image/share/locale"
|
||||
#define PKGDATADIR "/image/share/bison"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
7659e6caa1c0f82722bc2d80b614a1fa500e531ce0f359c3a813b742738ad7c6 /image/bin/bison
|
|
@ -12,7 +12,7 @@ exist...
|
|||
## but also to run the tests. Of course, you ought to keep a sane
|
||||
## version of Bison nearby...
|
||||
-BISON = $(top_builddir)/tests/bison
|
||||
+BISON = /usr/bin/bison
|
||||
+BISON = /image/bin/bison
|
||||
BISON_IN = $(top_srcdir)/tests/bison.in
|
||||
YACC = $(BISON) -o y.tab.c
|
||||
AM_YFLAGS_WITH_LINES = --defines -Werror -Wall --report=all
|
|
@ -1 +1 @@
|
|||
6e93edb69a8089d5f0bd20ac29acf2ed1454c0bcb97e9aed085757b02f0f3756 /usr/bin/bzip2
|
||||
053a7c3080ab19303bc6610ee6d7af2acd69c19d7d74554cfa3d912fa7feb537 /image/bin/bzip2
|
||||
|
|
|
@ -1 +1 @@
|
|||
9275f8bbefcb9ac683663c9eeaf575f1fe8c2a354de69791a039164807c1a436 /usr/bin/bzip2
|
||||
9bf6c960e7862cbe451e07fc80fc63b802962d981d39842c84ee133dc441bf08 /image/bin/bzip2
|
||||
|
|
|
@ -1,54 +1,54 @@
|
|||
113a08baeaaaafd87295806756a5b5eee73a55347e86b4930e01c15d7220f74b /usr/bin/install
|
||||
f6dd08d95b1ecdd32c7804afa226d734fb4efbe54e67532023deb3a95df2899d /usr/bin/basename
|
||||
8bf26dadc87990c5ec5fe6551145049d52ded48640ce7ac47b05b458ff870cfa /usr/bin/cat
|
||||
3cfdf2a0f1db912f1daa3015ceb99689f51970196c85a049a3e098bd96271b20 /usr/bin/chmod
|
||||
994197dd07610b44608b388242c70adb9ec49bb2a643dcfdfb1e105529c2e379 /usr/bin/cksum
|
||||
78c1187c2ce90fe24acc739eeb159363de70e06e239bac3ea096ee1cf3f9d273 /usr/bin/cp
|
||||
a09aeffc07c868076aa034fd1650f8faca703379aa31d5b5fd911adf98901c82 /usr/bin/csplit
|
||||
e3149e91b206a83b4e7341b5df6ddefddfe04be4b9859642b23e2ee684de0e2d /usr/bin/cut
|
||||
39713a15ea9b4a46d01f8d0a2ca99fe83acab34980442cf4e26d0c495e63acd3 /usr/bin/echo
|
||||
b9b229f0cfe7c2077c7f1ce30b91d07ae02794bb52520367053e4c5dae815617 /usr/bin/expand
|
||||
79f91e16249f8f595fb4dd68a05413c8f28bd3a15f25ed07d602b504f745b33f /usr/bin/factor
|
||||
a7071f0800ed49164535244ac82e6288ca7f4c9ef119ce722e809c965feba43e /usr/bin/false
|
||||
c7c581160a28eaea971e1333b19e07b81e98897a251f05f8fe5fd1fd2c89ad2a /usr/bin/fmt
|
||||
bfdeeba7192725dc6f5b4084f73e42d518a05900af05a062b4862fcb3b7a5a0d /usr/bin/fold
|
||||
b914fce359292bd4134af0d0086c4d5920a6482e784c60483c60daa86ba3e2ca /usr/bin/head
|
||||
142cd716a75921fc3d4f824c75515147f12b53e83f0a89a09f17aaaeaa9b1543 /usr/bin/id
|
||||
890bd5186317a1da5309881ad12426e45144b059436b7045a18ab670ac34585b /usr/bin/join
|
||||
c8d87edb84146d2c536be5cea326b5fe456eb9fb39511f535312e52577d1c229 /usr/bin/kill
|
||||
5c827dc96610836ec41ced32fdff18584dfa7380431cf5f99960effcec16b6da /usr/bin/link
|
||||
75da5a77d612a6c9ab2c63f52e0c53613917b46f243a6ca78a15edc1ab2322d2 /usr/bin/ln
|
||||
e74bc32191c7f53b659c7b1937d9799e7e56a71f0d68a00a085df99d900ac71a /usr/bin/logname
|
||||
fc1b745d7b10d84445fe6f4a42cb1893827f13029eb5ba93568c4668182ef0c3 /usr/bin/mkfifo
|
||||
2aaba60b28b63c8fe0199202a364327bb235fb628424c70d85ddf1b011a603b9 /usr/bin/mkdir
|
||||
541dfb8cddfc66fe7e2628012c6557d34eb071312af6ad9178c14ab374970ea0 /usr/bin/mknod
|
||||
95cf6269ae7608960bf1eb1062cd8f1f9981534b8e66449c3076c2b270f02970 /usr/bin/nl
|
||||
82109de6321e241128763333ba7e32db91d6fd07124dd3198fdd80f5c8679cf5 /usr/bin/od
|
||||
89537a3ff8d001059b2875e49b02e64f5cc9e70ee0053b1407c9e13a949097cf /usr/bin/paste
|
||||
876bf7b6743fb7a8b9967f9f8ae0ce7deabe9a109b5d8655e2042435c8dc9141 /usr/bin/pathchk
|
||||
0eb7a6d22a2a1daccd547e4f61090bf7a19ed63a3aec64076d9b6b14ad5ac873 /usr/bin/printf
|
||||
0c7b355b1b81093b740efd5afdec417f1902edb3c4c7335320ad371aa67e66a5 /usr/bin/ptx
|
||||
a5a7d59c3daddcd12a5a1f69710f970fba40f319baa6e8a2d7ee6da55936d046 /usr/bin/pwd
|
||||
bb5be58fc44331fedc405f28d6bf9014105376db48ab6921de4468c26868b0cd /usr/bin/readlink
|
||||
cf83e7cf46b52440d593d08c03859bf2354affd3d184d4975fb4d1ba0a9b5260 /usr/bin/rmdir
|
||||
ed0e8f05df2f9a757a783a783d4d5efc4fc85d5f5ade8b61b6c32bd64047eaaf /usr/bin/seq
|
||||
3a839fe7e32dff6a2597390660beb10ee15eabd2d1fe4531a58eed035fa0db5f /usr/bin/sleep
|
||||
978bab078ddc398c8617697143265b5c0791d74730895243e11f30f208389095 /usr/bin/split
|
||||
ee8532ca989f75ec263121c20f13474ad73aafa503bb2ae2f785708b0244c329 /usr/bin/sum
|
||||
40d71b38897a5ceacd45a4c49a2d84dab4d175fff4e7fcf98785c31d2ec715f2 /usr/bin/tail
|
||||
cb8ff79e7566d6fbfe0c5d384163585306a9ef7e9e525fea0bf0c8a5c2af8238 /usr/bin/tee
|
||||
6ab10d4a009e2b134c7e854f2561da93d74b95701d538659284d5035bc88ff89 /usr/bin/tr
|
||||
062e387534cc7661b11346524f84e38f5e64a4326819377b9bc3aa675fb6a409 /usr/bin/tsort
|
||||
07103fb0d194c01576894c800eecc3be9588103e93c6e8b9c0e6063fb9dde5af /usr/bin/unexpand
|
||||
054c7b8ef262065dc965b885baa858602165609322196515a6e9415b0f9a21e5 /usr/bin/unlink
|
||||
545d17edd4994ab9d405b27b0ebd5d9ef1e3d4c1c172bc5c47112a740ce88e15 /usr/bin/wc
|
||||
9464990ed84759efab8bc3b5b67cf6f77c03ccf988bbe6e571a12ea3d6b01cd9 /usr/bin/whoami
|
||||
060e30b58112feba89aa3b90506d7c8f532837ab339b45f351ebe4a39aa36049 /usr/bin/test
|
||||
0d1e615de04e3d99b5cfd9b86eac332113227eb87707e025748ddde134720596 /usr/bin/touch
|
||||
af3a6577c63e79cd2bbabd3c966790ef006c2d5d2584573ba91667d45f80fec3 /usr/bin/true
|
||||
0321a3302b2883914612d9e3dad00e5f338e5c9541651ef293bb38503a9ae39c /usr/bin/yes
|
||||
84dd2d7cb8216eceaa3d53886832034c1b68f174239fe51adb68e2ec45901610 /usr/bin/ls
|
||||
acb87cf7d9c1be94dde273bf3f9ab21115ff86a1cc783963dd7571729c4a82e8 /usr/bin/md5sum
|
||||
039aa7005ce1280641e9828ea407e1e80994176a5c546d3bc6f88fd8d34f79c5 /usr/bin/mv
|
||||
ba5655e1ae7be5b5655513b19d03d385840c707528bd0baa907dc2b117d35d97 /usr/bin/rm
|
||||
330d475015d0d78af61789f44d636b14082d64a64dd7faf481677c014fb5a606 /usr/bin/sha1sum
|
||||
113a08baeaaaafd87295806756a5b5eee73a55347e86b4930e01c15d7220f74b /image/bin/install
|
||||
f6dd08d95b1ecdd32c7804afa226d734fb4efbe54e67532023deb3a95df2899d /image/bin/basename
|
||||
8bf26dadc87990c5ec5fe6551145049d52ded48640ce7ac47b05b458ff870cfa /image/bin/cat
|
||||
3cfdf2a0f1db912f1daa3015ceb99689f51970196c85a049a3e098bd96271b20 /image/bin/chmod
|
||||
994197dd07610b44608b388242c70adb9ec49bb2a643dcfdfb1e105529c2e379 /image/bin/cksum
|
||||
78c1187c2ce90fe24acc739eeb159363de70e06e239bac3ea096ee1cf3f9d273 /image/bin/cp
|
||||
a09aeffc07c868076aa034fd1650f8faca703379aa31d5b5fd911adf98901c82 /image/bin/csplit
|
||||
e3149e91b206a83b4e7341b5df6ddefddfe04be4b9859642b23e2ee684de0e2d /image/bin/cut
|
||||
39713a15ea9b4a46d01f8d0a2ca99fe83acab34980442cf4e26d0c495e63acd3 /image/bin/echo
|
||||
b9b229f0cfe7c2077c7f1ce30b91d07ae02794bb52520367053e4c5dae815617 /image/bin/expand
|
||||
79f91e16249f8f595fb4dd68a05413c8f28bd3a15f25ed07d602b504f745b33f /image/bin/factor
|
||||
a7071f0800ed49164535244ac82e6288ca7f4c9ef119ce722e809c965feba43e /image/bin/false
|
||||
c7c581160a28eaea971e1333b19e07b81e98897a251f05f8fe5fd1fd2c89ad2a /image/bin/fmt
|
||||
bfdeeba7192725dc6f5b4084f73e42d518a05900af05a062b4862fcb3b7a5a0d /image/bin/fold
|
||||
b914fce359292bd4134af0d0086c4d5920a6482e784c60483c60daa86ba3e2ca /image/bin/head
|
||||
142cd716a75921fc3d4f824c75515147f12b53e83f0a89a09f17aaaeaa9b1543 /image/bin/id
|
||||
890bd5186317a1da5309881ad12426e45144b059436b7045a18ab670ac34585b /image/bin/join
|
||||
c8d87edb84146d2c536be5cea326b5fe456eb9fb39511f535312e52577d1c229 /image/bin/kill
|
||||
5c827dc96610836ec41ced32fdff18584dfa7380431cf5f99960effcec16b6da /image/bin/link
|
||||
75da5a77d612a6c9ab2c63f52e0c53613917b46f243a6ca78a15edc1ab2322d2 /image/bin/ln
|
||||
e74bc32191c7f53b659c7b1937d9799e7e56a71f0d68a00a085df99d900ac71a /image/bin/logname
|
||||
fc1b745d7b10d84445fe6f4a42cb1893827f13029eb5ba93568c4668182ef0c3 /image/bin/mkfifo
|
||||
2aaba60b28b63c8fe0199202a364327bb235fb628424c70d85ddf1b011a603b9 /image/bin/mkdir
|
||||
541dfb8cddfc66fe7e2628012c6557d34eb071312af6ad9178c14ab374970ea0 /image/bin/mknod
|
||||
95cf6269ae7608960bf1eb1062cd8f1f9981534b8e66449c3076c2b270f02970 /image/bin/nl
|
||||
82109de6321e241128763333ba7e32db91d6fd07124dd3198fdd80f5c8679cf5 /image/bin/od
|
||||
89537a3ff8d001059b2875e49b02e64f5cc9e70ee0053b1407c9e13a949097cf /image/bin/paste
|
||||
876bf7b6743fb7a8b9967f9f8ae0ce7deabe9a109b5d8655e2042435c8dc9141 /image/bin/pathchk
|
||||
249eb2c58d2e82bc38a008c3fa6da4ece2c56f198396901ffb4667cd55bd6d29 /image/bin/printf
|
||||
0c7b355b1b81093b740efd5afdec417f1902edb3c4c7335320ad371aa67e66a5 /image/bin/ptx
|
||||
a5a7d59c3daddcd12a5a1f69710f970fba40f319baa6e8a2d7ee6da55936d046 /image/bin/pwd
|
||||
bb5be58fc44331fedc405f28d6bf9014105376db48ab6921de4468c26868b0cd /image/bin/readlink
|
||||
cf83e7cf46b52440d593d08c03859bf2354affd3d184d4975fb4d1ba0a9b5260 /image/bin/rmdir
|
||||
ed0e8f05df2f9a757a783a783d4d5efc4fc85d5f5ade8b61b6c32bd64047eaaf /image/bin/seq
|
||||
3a839fe7e32dff6a2597390660beb10ee15eabd2d1fe4531a58eed035fa0db5f /image/bin/sleep
|
||||
978bab078ddc398c8617697143265b5c0791d74730895243e11f30f208389095 /image/bin/split
|
||||
ee8532ca989f75ec263121c20f13474ad73aafa503bb2ae2f785708b0244c329 /image/bin/sum
|
||||
40d71b38897a5ceacd45a4c49a2d84dab4d175fff4e7fcf98785c31d2ec715f2 /image/bin/tail
|
||||
cb8ff79e7566d6fbfe0c5d384163585306a9ef7e9e525fea0bf0c8a5c2af8238 /image/bin/tee
|
||||
6ab10d4a009e2b134c7e854f2561da93d74b95701d538659284d5035bc88ff89 /image/bin/tr
|
||||
062e387534cc7661b11346524f84e38f5e64a4326819377b9bc3aa675fb6a409 /image/bin/tsort
|
||||
07103fb0d194c01576894c800eecc3be9588103e93c6e8b9c0e6063fb9dde5af /image/bin/unexpand
|
||||
054c7b8ef262065dc965b885baa858602165609322196515a6e9415b0f9a21e5 /image/bin/unlink
|
||||
545d17edd4994ab9d405b27b0ebd5d9ef1e3d4c1c172bc5c47112a740ce88e15 /image/bin/wc
|
||||
9464990ed84759efab8bc3b5b67cf6f77c03ccf988bbe6e571a12ea3d6b01cd9 /image/bin/whoami
|
||||
060e30b58112feba89aa3b90506d7c8f532837ab339b45f351ebe4a39aa36049 /image/bin/test
|
||||
0d1e615de04e3d99b5cfd9b86eac332113227eb87707e025748ddde134720596 /image/bin/touch
|
||||
af3a6577c63e79cd2bbabd3c966790ef006c2d5d2584573ba91667d45f80fec3 /image/bin/true
|
||||
0321a3302b2883914612d9e3dad00e5f338e5c9541651ef293bb38503a9ae39c /image/bin/yes
|
||||
84dd2d7cb8216eceaa3d53886832034c1b68f174239fe51adb68e2ec45901610 /image/bin/ls
|
||||
acb87cf7d9c1be94dde273bf3f9ab21115ff86a1cc783963dd7571729c4a82e8 /image/bin/md5sum
|
||||
039aa7005ce1280641e9828ea407e1e80994176a5c546d3bc6f88fd8d34f79c5 /image/bin/mv
|
||||
ba5655e1ae7be5b5655513b19d03d385840c707528bd0baa907dc2b117d35d97 /image/bin/rm
|
||||
330d475015d0d78af61789f44d636b14082d64a64dd7faf481677c014fb5a606 /image/bin/sha1sum
|
||||
|
|
|
@ -1,60 +1,60 @@
|
|||
fafa676fe85f662f753bb5257ba6575086c6d4d7b8b27a952624db08e136b1ac /usr/bin/basename
|
||||
8b4e2b1ea346298b6534894e85cfa3ac4ee9bd1900da1d044a45c366d143dbf0 /usr/bin/cat
|
||||
24b11f735c4dcbd28e0defcef6208f419ebb3a7f33a5f7addb41d7df9e021bc1 /usr/bin/chmod
|
||||
8dd096b3a2973c4e3652e6bfffc30d2d85e8cb9b7f6cbbb2079cdb00a465589f /usr/bin/cksum
|
||||
6e9c29ae39dc9cc13925fe4066ab1867d0623bc704b2b1be6e242dc27b6c8ea1 /usr/bin/cp
|
||||
220ee0e1e19ad52403794872fd879619c25e2bf6b22d9616799250f76f8b9960 /usr/bin/csplit
|
||||
15eea66971190c390da91bd8537c01b689e1cf24cc96cd256607ef437f07f41d /usr/bin/cut
|
||||
567d079e9c0122410284414c0f2db2248e78686b403dabd9c7abd12c20ad9f89 /usr/bin/dd
|
||||
c033f4ae4ca47c1ae267d9f983c35366f5bf803b53422a073fbdd60dd3c745a8 /usr/bin/dirname
|
||||
0884b23703671535b882cffe99720d18f0f915b9323184dc20c0b7ef1af9ec4b /usr/bin/echo
|
||||
4bb7dca4382da61d02331c6785f254e04789e9a26e034fd4bbc40b969bdc81a5 /usr/bin/env
|
||||
76932efb69bc33a101a0a72424fc9dd50036b5f3fa09101d2d776a2e8aad7f3d /usr/bin/expand
|
||||
aea616aaf5c8c63f564a77d4469cbc49088531920dc927db24c70e8c5872c97b /usr/bin/expr
|
||||
6e082caf5494d14d8e8eb0c8284942389198ac0fff8646c08b3136039a8a1579 /usr/bin/factor
|
||||
94132ca47c73ec70cc5f817a7d4c3de8ec37f7664564028c6daf27a1f2a75f37 /usr/bin/false
|
||||
ee5f43940b667026f2152ccde76f8d09cb99eb8adbea29be782876d236ce3797 /usr/bin/fmt
|
||||
5b4b347107c9eea9e984652ab9ebb8ed95a349a717fedc3e523195b69d7383ae /usr/bin/fold
|
||||
1b49cc4b6f706c6da74831223c57251298c494b09ebf0e513df9b6536cfa84ab /usr/bin/head
|
||||
c2af52d735a708ad30b7d493c19e2ef8a059bfc617af26a1e877077c7a25bf58 /usr/bin/id
|
||||
3e9b0e09d1da2ce9f6a2d0f212f6211e9ff53767a60f5fac040488da97da43b7 /usr/bin/join
|
||||
3aa7096a22e4056c7ae5329e71965a6e1f5eeb10c471cffd4b86f9de91684588 /usr/bin/kill
|
||||
f6d99b9010578b4e3112c70131083c27bfcf731862b021df2995fd5738c52b99 /usr/bin/link
|
||||
ae6e4cdad0a792a72674c487f3874f356a49a25d0d11ea0f9b2abdb466494a50 /usr/bin/ln
|
||||
576ddcdde28a5d21b953976134f4b89dc0380e5ccfd8c9c489faf44db6d0506f /usr/bin/logname
|
||||
cc82a9771ebfc62a744b3b5f8b05d7fe86944ff0e02d1a20ac959421238e19e4 /usr/bin/mkfifo
|
||||
20d933c6787e1edfe47c30601e713fd9e6199852c55bb7af608722516aaaf699 /usr/bin/mkdir
|
||||
e173f74b72fcfc6b17ae0653a5a88fc36f6ce42bf99e70de4245701bf2a45a50 /usr/bin/mknod
|
||||
f98ea6c094c9fda45204d228a58bc52ceba02a8bf6e778e855d434387a43e1cb /usr/bin/nl
|
||||
e49bba1ea6a61fb90f754e8de4692ed0810e7c68429f0b22fbf37670607a7807 /usr/bin/od
|
||||
9ed0744237c4025a83ee4cc1d4fdf1135e6435899284c6e070b1ceb9b74e0203 /usr/bin/paste
|
||||
8b03fcd11aba79282d571d1f8ac3ce8839051e3c059e1895cb05cf660901102b /usr/bin/pathchk
|
||||
39c2d96e779d76562fcee782d82488310fa2c4daaaa54b1811f41ac1879d3009 /usr/bin/printf
|
||||
293e7a730d7f746731deb9614b3afab805a097f9acf917d53e44acc3acd9cb4b /usr/bin/ptx
|
||||
fa7ff4f943ca592c623e41a303e697114a420c0a3e5d91c779dfd57ab39b7053 /usr/bin/pwd
|
||||
3550aefb0eee8a35b4aa46ac31322687e478cb0f03c833e6924e462963e2b0f5 /usr/bin/readlink
|
||||
1543d06fdbe7fe2a28d6f2aa0a4d8ef69d4c06f6fe8ba605933fed51eda8c7fa /usr/bin/rmdir
|
||||
291f7fdd7d43fc55da4a50d7c7ba9945568b31602e74fbb3ab94a8b25a039595 /usr/bin/seq
|
||||
4b7609bd5da6de314b418be80f1be1a525bb4756efb1e9925f0ae7814c6eedef /usr/bin/sleep
|
||||
c40dac27f90c5f793a1ed37e78bd1015e44688dc2179da209b1065d02ed0c6e3 /usr/bin/sort
|
||||
5087a0f86f238062a85f2f6ca3e6b33ba6b3c8dd9700e314c1ae3b2af3331409 /usr/bin/split
|
||||
533d8a75e4460e37714c50eed989a643dffe08e3ab4f7400b966f2241e28a60f /usr/bin/sync
|
||||
35f681f7cc31a895f5c5e0db8b6a3c203b2ed9ce1771503f198614302e42c600 /usr/bin/sum
|
||||
7272d4fb3313ad3e19c79393d8785d4b343a915e605332eebbc8f5ac5338e071 /usr/bin/tail
|
||||
c2c6fae2cad8e29a75ff3f793ca7d059cc50ea4ee7d55f659e8f2d371f7763d6 /usr/bin/tee
|
||||
643d2912f2055e70284ab036d6d154e4667120726486c3a3329fdb5115b452f2 /usr/bin/tr
|
||||
75d4e74c03ad027b1b7738e6049ec5c01cfdd7a665ec82e0ecdf921d440e71a0 /usr/bin/tsort
|
||||
c7d92d8291578de76afa58f1a1160f3373b5935b6b6f1dca63bd0d3d210ea161 /usr/bin/uname
|
||||
0a51c8f6dc3ea15fd439e11a14d7c13d7094457e17129e7f5de51d886ed8f54e /usr/bin/unexpand
|
||||
abda7abe33205cda90734216bd3f2cc1dcf859db166d2d6297665a4d178e6bac /usr/bin/unlink
|
||||
f033207cf5de1eac8f4726b1926a33759b294050090932a6f7de6a6d98a8f9e8 /usr/bin/wc
|
||||
46f35124f00bcee7ec557406228da3abd04239be7b0ef0c10403139f1e0f0dd7 /usr/bin/whoami
|
||||
b8942c4ecd012efd53b74a8c5fec424020a7099356c4db017115499016237876 /usr/bin/test
|
||||
8bc7be81630efacca243feb8ecdaa97bc1d0b5a4060e0decf96af49875a06b00 /usr/bin/true
|
||||
84109c279ed6445c896fe04a397bf66e1f73f74200f8e58477e828aad7e43c92 /usr/bin/yes
|
||||
6c2c4baa6e75c00896b01ceb4e2f0ef62b59a7f27184ac1c5bf85f6da2983ae5 /usr/bin/install
|
||||
0f5fe59d628457041d4cb66ba6dfa27dd25c959aa65298db914c2524c9927d52 /usr/bin/ls
|
||||
3f43cf65e4ea8b713096607ce7b28c835dacaa0d18bb27fd664156b43b02639a /usr/bin/md5sum
|
||||
7fbafb8ac8aded995076404ea8c35392c3287a4ae92f7683baf445e321ba1a0c /usr/bin/mv
|
||||
5bb0d9ac5acc086b1bbcbd9c2f77f124efcc93e5802194a6aabce05c368b86c4 /usr/bin/rm
|
||||
c086a3b03be0da5fb7ffc5d3d666b9b8a340bc74c9d7c208123c55887c371147 /usr/bin/sha1sum
|
||||
fafa676fe85f662f753bb5257ba6575086c6d4d7b8b27a952624db08e136b1ac /image/bin/basename
|
||||
8b4e2b1ea346298b6534894e85cfa3ac4ee9bd1900da1d044a45c366d143dbf0 /image/bin/cat
|
||||
24b11f735c4dcbd28e0defcef6208f419ebb3a7f33a5f7addb41d7df9e021bc1 /image/bin/chmod
|
||||
8dd096b3a2973c4e3652e6bfffc30d2d85e8cb9b7f6cbbb2079cdb00a465589f /image/bin/cksum
|
||||
6e9c29ae39dc9cc13925fe4066ab1867d0623bc704b2b1be6e242dc27b6c8ea1 /image/bin/cp
|
||||
220ee0e1e19ad52403794872fd879619c25e2bf6b22d9616799250f76f8b9960 /image/bin/csplit
|
||||
15eea66971190c390da91bd8537c01b689e1cf24cc96cd256607ef437f07f41d /image/bin/cut
|
||||
567d079e9c0122410284414c0f2db2248e78686b403dabd9c7abd12c20ad9f89 /image/bin/dd
|
||||
c033f4ae4ca47c1ae267d9f983c35366f5bf803b53422a073fbdd60dd3c745a8 /image/bin/dirname
|
||||
0884b23703671535b882cffe99720d18f0f915b9323184dc20c0b7ef1af9ec4b /image/bin/echo
|
||||
4bb7dca4382da61d02331c6785f254e04789e9a26e034fd4bbc40b969bdc81a5 /image/bin/env
|
||||
76932efb69bc33a101a0a72424fc9dd50036b5f3fa09101d2d776a2e8aad7f3d /image/bin/expand
|
||||
aea616aaf5c8c63f564a77d4469cbc49088531920dc927db24c70e8c5872c97b /image/bin/expr
|
||||
6e082caf5494d14d8e8eb0c8284942389198ac0fff8646c08b3136039a8a1579 /image/bin/factor
|
||||
94132ca47c73ec70cc5f817a7d4c3de8ec37f7664564028c6daf27a1f2a75f37 /image/bin/false
|
||||
ee5f43940b667026f2152ccde76f8d09cb99eb8adbea29be782876d236ce3797 /image/bin/fmt
|
||||
5b4b347107c9eea9e984652ab9ebb8ed95a349a717fedc3e523195b69d7383ae /image/bin/fold
|
||||
1b49cc4b6f706c6da74831223c57251298c494b09ebf0e513df9b6536cfa84ab /image/bin/head
|
||||
c2af52d735a708ad30b7d493c19e2ef8a059bfc617af26a1e877077c7a25bf58 /image/bin/id
|
||||
3e9b0e09d1da2ce9f6a2d0f212f6211e9ff53767a60f5fac040488da97da43b7 /image/bin/join
|
||||
3aa7096a22e4056c7ae5329e71965a6e1f5eeb10c471cffd4b86f9de91684588 /image/bin/kill
|
||||
f6d99b9010578b4e3112c70131083c27bfcf731862b021df2995fd5738c52b99 /image/bin/link
|
||||
ae6e4cdad0a792a72674c487f3874f356a49a25d0d11ea0f9b2abdb466494a50 /image/bin/ln
|
||||
576ddcdde28a5d21b953976134f4b89dc0380e5ccfd8c9c489faf44db6d0506f /image/bin/logname
|
||||
cc82a9771ebfc62a744b3b5f8b05d7fe86944ff0e02d1a20ac959421238e19e4 /image/bin/mkfifo
|
||||
20d933c6787e1edfe47c30601e713fd9e6199852c55bb7af608722516aaaf699 /image/bin/mkdir
|
||||
e173f74b72fcfc6b17ae0653a5a88fc36f6ce42bf99e70de4245701bf2a45a50 /image/bin/mknod
|
||||
f98ea6c094c9fda45204d228a58bc52ceba02a8bf6e778e855d434387a43e1cb /image/bin/nl
|
||||
e49bba1ea6a61fb90f754e8de4692ed0810e7c68429f0b22fbf37670607a7807 /image/bin/od
|
||||
9ed0744237c4025a83ee4cc1d4fdf1135e6435899284c6e070b1ceb9b74e0203 /image/bin/paste
|
||||
8b03fcd11aba79282d571d1f8ac3ce8839051e3c059e1895cb05cf660901102b /image/bin/pathchk
|
||||
fda53239b3172ffdcd7989a79dcde19ed27c393c4cc82ba85315ed1a872d2654 /image/bin/printf
|
||||
293e7a730d7f746731deb9614b3afab805a097f9acf917d53e44acc3acd9cb4b /image/bin/ptx
|
||||
fa7ff4f943ca592c623e41a303e697114a420c0a3e5d91c779dfd57ab39b7053 /image/bin/pwd
|
||||
3550aefb0eee8a35b4aa46ac31322687e478cb0f03c833e6924e462963e2b0f5 /image/bin/readlink
|
||||
1543d06fdbe7fe2a28d6f2aa0a4d8ef69d4c06f6fe8ba605933fed51eda8c7fa /image/bin/rmdir
|
||||
291f7fdd7d43fc55da4a50d7c7ba9945568b31602e74fbb3ab94a8b25a039595 /image/bin/seq
|
||||
4b7609bd5da6de314b418be80f1be1a525bb4756efb1e9925f0ae7814c6eedef /image/bin/sleep
|
||||
c40dac27f90c5f793a1ed37e78bd1015e44688dc2179da209b1065d02ed0c6e3 /image/bin/sort
|
||||
5087a0f86f238062a85f2f6ca3e6b33ba6b3c8dd9700e314c1ae3b2af3331409 /image/bin/split
|
||||
533d8a75e4460e37714c50eed989a643dffe08e3ab4f7400b966f2241e28a60f /image/bin/sync
|
||||
35f681f7cc31a895f5c5e0db8b6a3c203b2ed9ce1771503f198614302e42c600 /image/bin/sum
|
||||
7272d4fb3313ad3e19c79393d8785d4b343a915e605332eebbc8f5ac5338e071 /image/bin/tail
|
||||
c2c6fae2cad8e29a75ff3f793ca7d059cc50ea4ee7d55f659e8f2d371f7763d6 /image/bin/tee
|
||||
643d2912f2055e70284ab036d6d154e4667120726486c3a3329fdb5115b452f2 /image/bin/tr
|
||||
75d4e74c03ad027b1b7738e6049ec5c01cfdd7a665ec82e0ecdf921d440e71a0 /image/bin/tsort
|
||||
c7d92d8291578de76afa58f1a1160f3373b5935b6b6f1dca63bd0d3d210ea161 /image/bin/uname
|
||||
0a51c8f6dc3ea15fd439e11a14d7c13d7094457e17129e7f5de51d886ed8f54e /image/bin/unexpand
|
||||
abda7abe33205cda90734216bd3f2cc1dcf859db166d2d6297665a4d178e6bac /image/bin/unlink
|
||||
f033207cf5de1eac8f4726b1926a33759b294050090932a6f7de6a6d98a8f9e8 /image/bin/wc
|
||||
46f35124f00bcee7ec557406228da3abd04239be7b0ef0c10403139f1e0f0dd7 /image/bin/whoami
|
||||
b8942c4ecd012efd53b74a8c5fec424020a7099356c4db017115499016237876 /image/bin/test
|
||||
8bc7be81630efacca243feb8ecdaa97bc1d0b5a4060e0decf96af49875a06b00 /image/bin/true
|
||||
84109c279ed6445c896fe04a397bf66e1f73f74200f8e58477e828aad7e43c92 /image/bin/yes
|
||||
6c2c4baa6e75c00896b01ceb4e2f0ef62b59a7f27184ac1c5bf85f6da2983ae5 /image/bin/install
|
||||
0f5fe59d628457041d4cb66ba6dfa27dd25c959aa65298db914c2524c9927d52 /image/bin/ls
|
||||
3f43cf65e4ea8b713096607ce7b28c835dacaa0d18bb27fd664156b43b02639a /image/bin/md5sum
|
||||
7fbafb8ac8aded995076404ea8c35392c3287a4ae92f7683baf445e321ba1a0c /image/bin/mv
|
||||
5bb0d9ac5acc086b1bbcbd9c2f77f124efcc93e5802194a6aabce05c368b86c4 /image/bin/rm
|
||||
c086a3b03be0da5fb7ffc5d3d666b9b8a340bc74c9d7c208123c55887c371147 /image/bin/sha1sum
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
98124acfaf5cd8c1795d9557455607fb157a514867de5b908a9a3c8d00d88717 /usr/bin/date
|
||||
fe8a8a6d39e35ca2d980ac0dfb57204f34c34aa2ec543bc15f93ff80bcbbd38a /usr/bin/mktemp
|
||||
40289b9aae91f72a7d44bbc93616dcf2397b60d2532b549d053f3ce9b1040119 /usr/bin/sha256sum
|
||||
98124acfaf5cd8c1795d9557455607fb157a514867de5b908a9a3c8d00d88717 /image/bin/date
|
||||
fe8a8a6d39e35ca2d980ac0dfb57204f34c34aa2ec543bc15f93ff80bcbbd38a /image/bin/mktemp
|
||||
40289b9aae91f72a7d44bbc93616dcf2397b60d2532b549d053f3ce9b1040119 /image/bin/sha256sum
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
|
@ -49,7 +48,7 @@ CFLAGS = -I . -I lib \
|
|||
-DHAVE_LOCALE_H=1 \
|
||||
-DTIME_WITH_SYS_TIME=1 \
|
||||
-DHAVE_STDINT_H=1 \
|
||||
-DLIBDIR=\"/usr/lib\" \
|
||||
-DLIBDIR=\"/image/lib\" \
|
||||
-DHAVE_DECL_WCWIDTH=0 \
|
||||
-DHAVE_SYS_STAT_H=1 \
|
||||
-DHAVE_INTTYPES_H=1 \
|
||||
|
|
|
@ -0,0 +1,107 @@
|
|||
4b1cb2c39577f107feb8def55982f789594ed26cac2440dbd794d0efc1060113 /image/bin/[
|
||||
226c2c0185f322f375bcdc0723fd306b2b68fe532168926b19fc90de4be3db60 /image/bin/b2sum
|
||||
9c4fe4ce411f086c3daaa0e85a96d15214482e1e8cbe66286594dc02620ddd97 /image/bin/base32
|
||||
fd6dcb61a183b9a0342276f77a310a4faf14b20e9aa58c8d9755d49db263aba3 /image/bin/base64
|
||||
fe7d1f2f778a2e4f1cb100e901472cdbf50bb66ed0e64ef0e0899198e9795464 /image/bin/basename
|
||||
40abb4ddaee9f983a38599d1a11816fe376a842e09194bd0c3708afc20185cb0 /image/bin/basenc
|
||||
5921f992032733277031c65ba4b5ac03a2168d731c90513e2cffd2f6defc013e /image/bin/cat
|
||||
cd2187495f4f5adf59e48b62ad92d01c8d7c8b3d4f5bb76fc7c790217ab9bcce /image/bin/chcon
|
||||
944e56b469d9dca8e888b0a6a8bb90d126279e6a19a40e71c077ce6fe668c0a2 /image/bin/chgrp
|
||||
6e7aa98b4f221282e1fef34d8e266239e095ee9c7e76847e3a91412ba2c0b7c8 /image/bin/chmod
|
||||
453cb0c1cba85966823d91dfcb79fe494736839656bd757b790de7c3b1403d8c /image/bin/chown
|
||||
6b90b8354b9fe3c8804384a8c028f01b6b04df764c3af5e8a8fbe1fa38aeca0c /image/bin/chroot
|
||||
1cf4e54e3bf96739b5cd184dad44f40ed19f3a8b0aafd19f72997cef9b473db6 /image/bin/cksum
|
||||
786a7661c0ab957e276218acdffc2b6dcbca521267b3857b7b9920e80da83fe1 /image/bin/comm
|
||||
8e1ef24a88b8e032c2e1af3186a206212e8939fe011ff9c6fe278bbae5536d47 /image/bin/cp
|
||||
d46f3c060d5edbea25a2fcf7c65dcbeed3d0084eb2f1a15c1b8f8eeed6642d67 /image/bin/csplit
|
||||
fb8faa5610e38b9e3c186aa9cdfcbe7ca07809c3569e3dafe3890678c36ebeac /image/bin/cut
|
||||
8146b6270016150120854b3eec6382d52d44e72f80abbde00c6c8238a78839b6 /image/bin/date
|
||||
2d70f5bda07a63a645db04b7c0908ca96873f075e8a1d89422b90f48bffb04fa /image/bin/dd
|
||||
7831d760c20670064963fa41b0939ac19932d8b04a4c7b56aabfd4d917962675 /image/bin/df
|
||||
44499ede5dc7080ffb123b87645b5c8a3b9b53bef1c2e0edd93e810d3d9a3d12 /image/bin/dir
|
||||
5601dc48fe224812071c2c1de6a73223aaf90921ec90c6575596f4fbeb92a570 /image/bin/dircolors
|
||||
2ba169c8791696adc37779dcc35eb689af5bebce3ea05ba46d3c1b667dc6bc04 /image/bin/dirname
|
||||
ce57fade16775a802e3b14643dd3e2d41db8bd6fe8a5005cc8ba2290c9d2be91 /image/bin/du
|
||||
1613e25b9b8ead7db666b9c77ec0e4f37239a5d847bb475ba89881231e8050c9 /image/bin/echo
|
||||
bb822886e49633840975978af4cada542a951522ac753dfc0b67b5054d5be0d8 /image/bin/env
|
||||
7240ea8a4139df493be025d41503d827c64b6051ac3651c0d2448694991f4051 /image/bin/expand
|
||||
10e7908eda22cf34ae2fb7b578497c60aca01adb9b93865af4b24659ed4731ad /image/bin/expr
|
||||
f21cd98cbae3c93ba86893cbde49177f068b097aa75b9dad63bc233b8c0eff55 /image/bin/factor
|
||||
2e31dcb31b02e1665d95948ef9fba420c3d03f77f15314b8dc39b82e09112821 /image/bin/false
|
||||
993f48bf28d51ef0631c54c5d43692db891959950ccff7b012c9fe622a4dc23f /image/bin/fmt
|
||||
0dcdbcd7578726d424d5873d1b0907867db67430b456bbb6d617a7769013af95 /image/bin/fold
|
||||
072b49fe3e8c3ed889cb9756d23bb3040a633b44889e2e8f2d033ea795f16e32 /image/bin/groups
|
||||
8af0f46e031b8c6aa13367cfaf24dc3d7861d7a92785e3483e1b4e7d0d1035ef /image/bin/head
|
||||
b14cae09e34d8ff404fff1d44c9d5eb28ace744b25e18c097b2304b475195b49 /image/bin/hostid
|
||||
a064920bb701620402aca4e73e53b0aa92dd98003d265f1b90e7d71e53bdd9ee /image/bin/id
|
||||
efc206df123a0fc345347ca9d67a0c257af9751f860707f32729f7c4c0a713ee /image/bin/install
|
||||
e4b88f6a1d9d63a5f765690b019aac1aa9e01641666444e6c41e2d8ae1f1be39 /image/bin/join
|
||||
e0a9c45e9ecd9a50fec3bf50246ddf77c3e6220e295928878166fab92dea41bb /image/bin/kill
|
||||
daa02c83dd3ab0d5e9fd3945500aae8838fd660f102f3e9826858235101c0e3c /image/bin/link
|
||||
b2c4f2b084743a12c9bad0fa5403484c5ead4192eab69fc9b2f84971294eef8d /image/bin/ln
|
||||
37dc27b546188d9a7525002c3557480fd53189819f5cea0e3ec9a5d0bf4edc4f /image/bin/logname
|
||||
0c00c6773636fce64f37bf7bda1ab5bef9c4342a182a89b829d7903d63d39726 /image/bin/ls
|
||||
1efa01b8f1295fa476366b7d1a15c823e9763a4f4d67195b27c2ba542d3e1048 /image/bin/md5sum
|
||||
cf4c167f97ee4c120371b34759f2742e2eb35bb457585742d47c064d1cd20d20 /image/bin/mkdir
|
||||
3b0b76786a1f2259f50eb479caf8389535522578e286780d0de0d8b5f5504d98 /image/bin/mkfifo
|
||||
753351bf70cf50988318b4c3e75178d77dbf0af453764a92b9d0813accf92438 /image/bin/mknod
|
||||
b2e5fac44cd937921a96eab1d6de49158d794b69d98904c6197eb927f49eee3f /image/bin/mktemp
|
||||
4e4e8125a649146c92b6d663f4a503e296c238549a56084666e2dc96a43cf280 /image/bin/mv
|
||||
fd8f3a5773c1e5ec53afdb566c40a48d48cf522136cd1be7e6007cb32168347b /image/bin/nice
|
||||
119d0a16ffb5249299fe4a1016e854b55c4664e89428f34afba489c050b6616c /image/bin/nl
|
||||
2f0ba52b0cea906e5bed48634a0a72962cbc37ca7a4d9018f14f36a9a7078aff /image/bin/nohup
|
||||
adb3a4ee51b6142640052983cf61ab1c1a8cd949d0cb087baa53b7e68bc7d2eb /image/bin/nproc
|
||||
9b2e9da81d9cdd5ee6b0c824a89841855dc52c9ca2650be9a28b9e13bac2d2e0 /image/bin/numfmt
|
||||
5085d336706f08f3bad923aa897de93ac438374f9852f0d2dec9b1e6e6dad1d7 /image/bin/od
|
||||
7ed640050e9868ad1fed9e7834b40277b9d3b42d873b3b28c01192fce33b12c9 /image/bin/paste
|
||||
53636efdd4fc5c4dcda3888e572dfbe1c39c7574e16fb88219e8fee12397305e /image/bin/pathchk
|
||||
2c33685f31ef55afefb5e2878ec6ad16a1731d00cf6fdc391fcdfc32633a9630 /image/bin/pinky
|
||||
3db5a930e2e8e2d2d9fe5babce7ece1187a8e43fd3b3a73de46b7536c07488f6 /image/bin/pr
|
||||
1b1505e75514d057d8819391abbb6cdd30fcca89cda0b852393d62059476f6e1 /image/bin/printenv
|
||||
369d7b4d49b4d7710e284c4d0713c7abdfa01ee5e0239f8e8be6c7cc521a5723 /image/bin/printf
|
||||
2bc17d7bdfc3a855be1e1c82089809e1339aa8a09701b2d8fe0d33219336d905 /image/bin/ptx
|
||||
5ee1f648fdd305f478e1dd71e4befbc524cac46c23708c0649b1f055ff305286 /image/bin/pwd
|
||||
61a30394510e94c5f7be84fa341948a6f4cf65f5931a9107dd23d0cd66a2b82a /image/bin/readlink
|
||||
319c34f870304012d3c491853c16f6e0d5255ef7ceaffd118dcf0acd57f88606 /image/bin/realpath
|
||||
dd51e28c1a922c459d81f08d6a596614cf1f9383b856623f8e02b6de94cbe22a /image/bin/rm
|
||||
7b342e22dfd4e51c063bb434b330ac650b452878555543a54d7c8becbec64a71 /image/bin/rmdir
|
||||
0da00f19781fca93b3b12c8a1e86348b139a087ca3fcc8d30bbd52c1ac7f1470 /image/bin/runcon
|
||||
2cafd71e25c88b7641655890146f2899c71459f9bd1ac902aa4fbcf45d485ea6 /image/bin/seq
|
||||
9825fb6c054dd81fee7bac2b21e34f46ffbd7e06d4101846ea83387395ce74ef /image/bin/sha1sum
|
||||
159f7650b7367309df6b4a3dff65c7815211a21a35bff9c44a083ac257d5c984 /image/bin/sha224sum
|
||||
bbedf99768efbd9f3c1e8b3ad5537109ef0a0c0832e5f1255aa07278b7791ab5 /image/bin/sha256sum
|
||||
3d23b8a7faf5b86b4330c787adeb9a234fea32480b05cd1a47ea8e59ffb41a76 /image/bin/sha384sum
|
||||
b0ee23e6205993d8c148641f40e71a0d532454b60ce4af81ee31ed9efa0b6c2c /image/bin/sha512sum
|
||||
e5121aee699f38aaffd1f13396cc511d0cbdf2ce6f99cd2a383ab44b13ac560f /image/bin/shred
|
||||
62a7ca82d151ca73d4bca464bd89c1fe32caa5aaa6f0bd22ac43ae304b9cd074 /image/bin/shuf
|
||||
60788da914956ef6308bb48fe98ea0bb6b993c4cffa99bd23bc901252a688105 /image/bin/sleep
|
||||
f16532ea0aebadfa626ed21c759f5429c0f3f86ad1c6d4390e957154784a34a0 /image/bin/sort
|
||||
8bf2bdb2ad64a52bd8c40cb5388de9420acd776e24eb9f41087fcbb5f88d2705 /image/bin/split
|
||||
6f67d8777f310cb65ef069e95619f1baa7a577d64b4e56e9bf4da55c572da1be /image/bin/stat
|
||||
614b2c0b19e34d3ba2cb093ec5723bff27c8ac0e7b3accf4de69168f93fdfca1 /image/bin/stdbuf
|
||||
a2895039858ebe3c0675c9a5d5846ecd802f0e2b776df3358eda4b9a40294ed0 /image/bin/stty
|
||||
be5ae441381df95c156fdda4e9b7a9909327d81a119e8563a133ffaa00c4bf76 /image/bin/sum
|
||||
6b71e4f6a51f9f3f3abd10dfe177217fb8ddcadff6edbb75fbf84296d00645e0 /image/bin/sync
|
||||
e3dcdfedfe4fda19b07411e7ae7e8c32aae797932ca8c5bbf95ebd85ee1e0934 /image/bin/tac
|
||||
34bb92fda0e49f488322742f9527fbb840b85feea084cba8cc252b697f6ade45 /image/bin/tail
|
||||
945739b04260b4114ebb9757bc13a582c3dde6f00bffc5de25703e851fa112fd /image/bin/tee
|
||||
a2e22163aaf77d89293567393ad4d9b198b712e824591241c639f69a5cf671b5 /image/bin/test
|
||||
365a00f40d8e6e5e07aa9e00bd2819c0b7e15e74d4c99aeea52337d168cd54ab /image/bin/timeout
|
||||
484e588f4e5c38f10cf5dd70c4087b19c6049bb728f07c43801d80bd263d1b15 /image/bin/touch
|
||||
cf704419a2d480bce878e244ec394b5504d06e7bc5357483f01e89f9745dfdd9 /image/bin/tr
|
||||
062ab3a391741063b4c33b990b9e3eefc5d9e9bbe6e283ac515724efd9785e66 /image/bin/true
|
||||
c4fe5e836e2371ad66cf2123c656de3761d79fce1b4eff4e5add9aed6cc954e4 /image/bin/truncate
|
||||
a683492998ae6cdeb221f6f0c404fe1bffae42024e91531060bc03a72a06ef09 /image/bin/tsort
|
||||
ff52caff909a08bf23ad85acf30a5019b5569846cda014d64d30c0336b9758a6 /image/bin/tty
|
||||
0128ce2ff9556dba801c0acc35a727de8525e7ceefc6ff518b88de8a3463857f /image/bin/uname
|
||||
28a13bdd01fc216f35bb39b28254038e64563571bea1dc5b56c9b88cee758e8f /image/bin/unexpand
|
||||
73ea7c3aa47e17d398762c7d0a6594564792a1cba251eef865ad5d83af0b8488 /image/bin/uniq
|
||||
008ec49612fb884c43505fefbab0609c768d8169648df51b4411776a18089b41 /image/bin/unlink
|
||||
7497fb11caa2bb7ce43d3673b5045baf5caecac9208366ec28620a3981669c55 /image/bin/uptime
|
||||
fe64d199e3fdbda804a00d4f5ca988a90efc7afb41b7a53171d1c6406c724623 /image/bin/users
|
||||
e57a3d39e4ae7ba093b5996676fa5c123a1f72eec4b615d18b5c184aa12166b3 /image/bin/vdir
|
||||
aa143b5801454739d12007fc535651ab7ce76bbfba49018723f98b77e32b17da /image/bin/wc
|
||||
56ce0dbe4150ccef579e042adf1a0970928a44e29d96bd36bb5a586eead3a2cf /image/bin/who
|
||||
090e03584c0b9754c76ba23689321a8b114fdbeb3d158e15da4e700a78b33eed /image/bin/whoami
|
||||
829c9904baeeb08f8f074223b7f0a8d7dfc375779cca0626a020c1323d4f7abb /image/bin/yes
|
||||
02ae56360b3c7a21a83c0bffba077f82f851fbf08ac26e740779060bebb2e006 /image/libexec/coreutils/libstdbuf.so
|
|
@ -1,2 +1,2 @@
|
|||
c3d87abbcc66ac9db7c7c52c808632cefb1ed5b2c7a779f1f1413247e5e2677c /usr/bin/cmp
|
||||
3ebd884138bdec61da56ab063ec1ef8f1913fe8a7d2ef3a12c79fb25064a983c /usr/bin/diff
|
||||
c3d87abbcc66ac9db7c7c52c808632cefb1ed5b2c7a779f1f1413247e5e2677c /image/bin/cmp
|
||||
3ebd884138bdec61da56ab063ec1ef8f1913fe8a7d2ef3a12c79fb25064a983c /image/bin/diff
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
f679483476abe1b25fb2dd558a2770f51c9f81a85cce009079f884c75eb7f666 /image/bin/metaconfig
|
||||
a7c30101cc041d1ffd0e9d4c940885ac31c78a9a066a56b1c33e166f75ff1a17 /image/bin/manifake
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
eunicefix=':'
|
||||
grep='grep'
|
||||
privlib='/usr/lib/perl5/@PERLVER@'
|
||||
privlib='/image/lib/perl5/@PERLVER@'
|
||||
VERSION='3'
|
||||
ENV='env'
|
||||
PATCHLEVEL='5'
|
|
@ -1,7 +1,7 @@
|
|||
5a7e6f477bbbf2389a810f8884b9788970e713cdbfe36bc0ecef3596717ad2ad /usr/bin/find
|
||||
7e01af08333f7770de7fdafaa120730bb4daca68521df8fa543bae60b71f1789 /usr/bin/locate
|
||||
47ef19441f01b383d8cb42092111f738b230dd37128ddc763042f9cabfdc6770 /usr/bin/updatedb
|
||||
656f6f5d0070dfdf08f5d5819b30062bd4e31bf7cde876a49fc526896e36f3a7 /usr/bin/xargs
|
||||
a7597dbc322c5985e51599d343eb2b98bf4e6092ce06595a6efc9ec82646fc4a /usr/libexec/bigram
|
||||
9e9195c230e36f5f000d967231d3a4c76f286dbc02a71f47d7c669f1c4f8ee75 /usr/libexec/code
|
||||
60f76f247a99d167744c94bfba1d0ffef29cb4e2652e838d34cd514020ce474e /usr/libexec/frcode
|
||||
588f6093f4fac94d2ae5f789e6dd13d369e53df59944886a4b7ff7c3338099a7 /image/bin/find
|
||||
4c9886d56b60643f2e24789b55dab3a144edb07b84f7a416e28545a79c28cbe2 /image/bin/locate
|
||||
f0af84f40d7bde1c44979b41f5a9f2bef81b6380f93f72aa155c1da5548392f6 /image/bin/updatedb
|
||||
4da0dc2bf7f5e595b232640086ba2dfb250becdf91ef024b5b58aa1d85690196 /image/bin/xargs
|
||||
2d9e79a71b1088b9e14db3bbf5863e1e6b3041db45f6e5d1fe92f521e8d6f47b /image/libexec/bigram
|
||||
84af6726c9c28c2498d57f716e0f992530231b85e7371dee33271540424c0842 /image/libexec/code
|
||||
858f3de34c8f68e39f00b6ffd3117e71f769e59516a038fea8461b7ed778318a /image/libexec/frcode
|
||||
|
|
|
@ -1 +1 @@
|
|||
1e6280bcd57c357ad60c687ad5fab6597b9e6ef5f0a1186fcfef6383b76a3242 /usr/bin/flex
|
||||
1e6280bcd57c357ad60c687ad5fab6597b9e6ef5f0a1186fcfef6383b76a3242 /image/bin/flex
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
7bee256ff9d5a635bd14ac8b41aab445d36cab309e0a4bc7859218801228a211 /image/bin/flex-2.5.33
|
|
@ -1 +1 @@
|
|||
3507fe902492ff1ffab5b5b74efecda17cac3b66d45b49e1d05ba9cfe5f7f65b /usr/bin/flex
|
||||
3507fe902492ff1ffab5b5b74efecda17cac3b66d45b49e1d05ba9cfe5f7f65b /image/bin/flex
|
||||
|
|
|
@ -1 +1 @@
|
|||
64436284acb7498d8371ff4aef7bcaa5070b91dc0c280e8f3f6cb56a9cdb9ea2 /usr/bin/gawk
|
||||
434826443327bc1f4fee62073d4dd621fc9e3039c8a66a5134a790fccd1b162a /image/bin/gawk
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
29a5815774cf7d45427f9e24acfeeae876a97b5fed0337f96dfdc736ff86a0cf /usr/bin/cpp
|
||||
32c7d1cf7a2a7b8fbde1cec356a9b3bff66dd17ffbb7568f14c6c4467779190b /usr/bin/gcc
|
||||
32c7d1cf7a2a7b8fbde1cec356a9b3bff66dd17ffbb7568f14c6c4467779190b /usr/bin/i386-unknown-linux-musl-gcc
|
||||
32c7d1cf7a2a7b8fbde1cec356a9b3bff66dd17ffbb7568f14c6c4467779190b /usr/bin/i386-unknown-linux-musl-gcc-4.0.4
|
||||
a3d53c1ddfe54c1705d0b815ff8584935c05bbaeced0da9e4b4bf9668875d579 /usr/libexec/gcc/i386-unknown-linux-musl/4.0.4/cc1
|
||||
b047b869a377ca346eb0338772f35b5444bc0f89bc0e7747e2822971d9b5d250 /usr/libexec/gcc/i386-unknown-linux-musl/4.0.4/collect2
|
||||
de4566c661258fa626ea7076e6c57af95c01d0786bcdadb12af23852cc421a2a /usr/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbegin.o
|
||||
c7eea5e845fe2ee5538704d59c6e777d4f72b7100e78d5f86f8d95d96ab2ec20 /usr/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbeginS.o
|
||||
de4566c661258fa626ea7076e6c57af95c01d0786bcdadb12af23852cc421a2a /usr/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbeginT.o
|
||||
342276a6ad25e3d064bba9c5d50fbeaae15d0aefdc5c72b1e796366189af1b1b /usr/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtend.o
|
||||
2bf001e0be96ea7c53adf35b1bf0a677eee02008e3aee6c30166d100b720687c /usr/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtendS.o
|
||||
e44dd75064575efbe42099945a9154789a33935def80a07b0c7c4a761eac7c10 /usr/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/libgcc.a
|
||||
2af47fa10fd49ceb8c93c2179a348089f39203391499c8833fadfd730149cd38 /usr/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/libgcov.a
|
||||
6a823c735a93d933975311e49650c6b3f4747eba297b88243dbb0fcfd854a468 /image/bin/cpp
|
||||
9d2c973a77b3d537608b874cd3ce4959b6e3ed6d8c68801fb988e440c3708632 /image/bin/gcc
|
||||
51c2625cca2b5f3a5ff65d98c148ba2e1b713c678aa383588cf86fbd302ce0af /image/libexec/gcc/i386-unknown-linux-musl/4.0.4/cc1
|
||||
74c4c8aa626a5924681cbf6fb2a41b69a8809f4220ab6f4bdb91389bccbc075f /image/libexec/gcc/i386-unknown-linux-musl/4.0.4/collect2
|
||||
de4566c661258fa626ea7076e6c57af95c01d0786bcdadb12af23852cc421a2a /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbegin.o
|
||||
c7eea5e845fe2ee5538704d59c6e777d4f72b7100e78d5f86f8d95d96ab2ec20 /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbeginS.o
|
||||
de4566c661258fa626ea7076e6c57af95c01d0786bcdadb12af23852cc421a2a /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbeginT.o
|
||||
342276a6ad25e3d064bba9c5d50fbeaae15d0aefdc5c72b1e796366189af1b1b /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtend.o
|
||||
2bf001e0be96ea7c53adf35b1bf0a677eee02008e3aee6c30166d100b720687c /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtendS.o
|
||||
309f29be0d8193574a6f83f5a2f2494261fb4d61af651760ae135e011a7ade89 /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/libgcc.a
|
||||
0783eac6604619cbfeb35ee4d5b34b288d9ab3fd337b91ff1555d594e3e6ed54 /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/libgcov.a
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
a46669c4d22fa0415e10abd6572db4b99c32b35a8fe6a5f158ac77a38636f461 /usr/bin/cpp
|
||||
8b9b4c5a539ebd380533b75aa2de276c555da09b4fcfb2087cc2ef8a2ce000ba /usr/bin/gcc
|
||||
8b9b4c5a539ebd380533b75aa2de276c555da09b4fcfb2087cc2ef8a2ce000ba /usr/bin/i386-unknown-linux-musl-gcc
|
||||
8b9b4c5a539ebd380533b75aa2de276c555da09b4fcfb2087cc2ef8a2ce000ba /usr/bin/i386-unknown-linux-musl-gcc-4.0.4
|
||||
6a756aaa35b6755456917ab736244956efdfe3c72c68b303c2d4e858e04a0d45 /usr/libexec/gcc/i386-unknown-linux-musl/4.0.4/cc1
|
||||
7e13583f6ca8bd13df552282a46874c1f9e6ad080f3d543076d98e0410aa41ef /usr/libexec/gcc/i386-unknown-linux-musl/4.0.4/collect2
|
||||
a07db1648128987f10debb1730b4456c0423aab5bd93d68e4f2b47447a11c5d9 /usr/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbegin.o
|
||||
20a3bbbd5cd59b91660628d416d489437463b651fa15b5ea5f026b45c9e35b65 /usr/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbeginS.o
|
||||
a07db1648128987f10debb1730b4456c0423aab5bd93d68e4f2b47447a11c5d9 /usr/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbeginT.o
|
||||
342276a6ad25e3d064bba9c5d50fbeaae15d0aefdc5c72b1e796366189af1b1b /usr/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtend.o
|
||||
2bf001e0be96ea7c53adf35b1bf0a677eee02008e3aee6c30166d100b720687c /usr/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtendS.o
|
||||
480e0b4c1ec4888f1665b85f46ba15db61d057ab326599883e8960ae46c2e998 /usr/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/libgcc.a
|
||||
68d257330d35c0ab81ab948983eb7fb91c1ec821a2abad9046e9aa0fe9cbf342 /usr/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/libgcov.a
|
||||
524b38b725a747c2f438b642db2473613d77979b0300c9f3be719370a4b4512d /image/bin/cpp
|
||||
ecd3d55e077c5a90ae7bc51343e85a5de1b6237de5ddcb2a6e0f05b04b1bf914 /image/bin/gcc
|
||||
114fab68114a523a7dc3ff47702e6bcce0276590ffdad8dbb507af8b957f5934 /image/libexec/gcc/i386-unknown-linux-musl/4.0.4/cc1
|
||||
93ec879d4b2f5957b9964be2f6c8d486278c1959f9337d084c3ce840ba683dd5 /image/libexec/gcc/i386-unknown-linux-musl/4.0.4/collect2
|
||||
a07db1648128987f10debb1730b4456c0423aab5bd93d68e4f2b47447a11c5d9 /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbegin.o
|
||||
20a3bbbd5cd59b91660628d416d489437463b651fa15b5ea5f026b45c9e35b65 /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbeginS.o
|
||||
a07db1648128987f10debb1730b4456c0423aab5bd93d68e4f2b47447a11c5d9 /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbeginT.o
|
||||
342276a6ad25e3d064bba9c5d50fbeaae15d0aefdc5c72b1e796366189af1b1b /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtend.o
|
||||
2bf001e0be96ea7c53adf35b1bf0a677eee02008e3aee6c30166d100b720687c /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtendS.o
|
||||
2ed41b013573928bf7ce3cf594f0be0eb82cfb61c70cb2b317fe4e1c691a594f /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/libgcc.a
|
||||
7ba9351278fe100c09dd7c8baad3dceca8a3f4c6d56541fd471b49ffb66ff887 /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/libgcov.a
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
tar xzf ${SOURCES}/automake-1.16.3/src/automake-1.16.3.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# This is needed for building with TCC
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
tar xzf ${SOURCES}/automake-1.16.3/src/automake-1.16.3.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
@ -88,5 +92,4 @@ src_compile() {
|
|||
|
||||
src_install() {
|
||||
make -C build/gcc install STMP_FIXINC= DESTDIR="${DESTDIR}"
|
||||
cp gcc/gsyslimits.h ${DESTDIR}${PREFIX}/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/include/syslimits.h
|
||||
}
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
8f4b1c859ad99f4ef17970dafb4c7b818a4e01744c4a1e7d632c09598bea737d /image/bin/cpp
|
||||
4b522a12cdc654809e796e41062de1d48458626060ec0fac492f9a4757df38da /image/bin/gcc
|
||||
8e7bde329795793d2d2f71c5d011376ab93a7673645ea44c0d9aee7e8bb9f058 /image/bin/gcc-ar
|
||||
ede1d40ad93ab8daf788b1362ce1deb4946865398e991725487f25af66a42bed /image/bin/gcc-nm
|
||||
d93e0b44788e1111073f9ced886e9b41b906075ddcdf73a1cf911cc72b1bcbde /image/bin/gcc-ranlib
|
||||
1657ba8afdac845ddfa8842efa5e7bf3cfc9be23aa31f6265e3f43eead1316d4 /image/bin/gcov
|
||||
77adc8cb0648cd8b3546254e7277d16a04b18fe643b889352717c361cc8a4309 /image/libexec/gcc/i386-unknown-linux-musl/4.7.4/cc1
|
||||
a96e1cd5eff7904cfcd260e859a65bf38c45eafe3f81b7df537e0bb68543e856 /image/libexec/gcc/i386-unknown-linux-musl/4.7.4/collect2
|
||||
4dd787d729d8d57434fb7cfaf2a7a42dfca2bdf665e6e5246fb56e4cee0f10fd /image/libexec/gcc/i386-unknown-linux-musl/4.7.4/lto-wrapper
|
||||
b85d6aabe0ffa30cc2fa1f6a1c899256b4051086c566d9c75299c6b2f6cbd618 /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtbegin.o
|
||||
db6caa96b09785d820b2b5a6fc0e2c49dc1980a18b6a6472aa2ccdb5f38fef57 /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtbeginS.o
|
||||
b85d6aabe0ffa30cc2fa1f6a1c899256b4051086c566d9c75299c6b2f6cbd618 /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtbeginT.o
|
||||
42a533b816b6c060f4269a310112bde2e07329cb3c2fa5b21bbad6d2d03e90b5 /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtend.o
|
||||
e5059cb3aaec30653dfb2cbc09ee555218d276d6b49b1ddc05ba8c4d63e3edfb /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtendS.o
|
||||
042ed2a9c7c8ea05291f79d30ad6f2bb61a9d1a58494ee835e1cb5473b5b5b4b /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtfastmath.o
|
||||
135b6793737d181031ac9042fd42c38f7c627468447f9c90f687156968282c6f /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtprec32.o
|
||||
67ea5a6dc10582c4b4c3f53763c7408874c625e054dc4f7137206a1c927bc0b5 /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtprec64.o
|
||||
412c06a772f2bceaef31514685c7634358b9d7a5e01b30c3b1aef2dd24ad68f9 /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtprec80.o
|
||||
65082b00fb62e18e816e99a533835a5025794907b8f4d8b5075d3a607249ab08 /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/libgcc.a
|
||||
af7c0180e5f5854947414ff8f4dac6dcc8b853cb56e592be367760fd4869829d /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/libgcov.a
|
||||
f0b8f0639b0d596a6028b2eb4f1b738d2ef41243a652083bbb59ade32d0e5a7f /image/lib/musl/libstdc++.a
|
||||
9ed64bd654c3a9be96e4d60637a9e65183cd94c32f946d5a88370ee9228f280a /image/lib/musl/libstdc++.a-gdb.py
|
||||
b82cbc46d5977ba01330dc2091656f13df5391a14afcecc729269ceab7fa7706 /image/lib/musl/libstdc++.la
|
||||
f209ea28cf192f18817724f462402d5d7c307ed2c5256ffe462e93478b751d4d /image/lib/musl/libsupc++.a
|
||||
963b895bf80dccc967cde0a03e9de439cad6f25fd912e0e7765cd2924768a5ac /image/lib/musl/libsupc++.la
|
|
@ -1,6 +1,5 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
|
@ -110,30 +109,19 @@ src_compile() {
|
|||
for dir in libiberty libcpp libdecnumber gcc; do
|
||||
# We have makeinfo now but it is not happy with gcc .info files, so skip it
|
||||
make -C build/$dir LIBGCC2_INCLUDES=-I"${PREFIX}/include" \
|
||||
STMP_FIXINC= GMPLIBS="-lmpc -lmpfr -lgmp" MAKEINFO=true
|
||||
STMP_FIXINC= GMPLIBS="-lmpc -lmpfr -lgmp" MAKEINFO=true
|
||||
done
|
||||
|
||||
# host_subdir is necessary because we have slightly different build directory layout
|
||||
make -C build/libgcc PATH="${PATH}:../gcc" CC=../gcc/xgcc \
|
||||
host_subdir=build CFLAGS="-I../gcc/include -I/${PREFIX}/include"
|
||||
host_subdir=build CFLAGS="-I../gcc/include -I/${PREFIX}/include"
|
||||
|
||||
make -C build/libstdc++-v3 PATH="${PATH}:${PWD}/build/gcc" \
|
||||
CXXFLAGS="-I${PWD}/build/gcc/include -I ${PREFIX}/include"
|
||||
|
||||
# Fix ordering of libstdc++.a
|
||||
pushd build/libstdc++-v3/src
|
||||
mkdir order-a
|
||||
pushd order-a
|
||||
ar x ../.libs/libstdc++.a
|
||||
rm ../.libs/libstdc++.a
|
||||
ar cru ../.libs/libstdc++.a *.o
|
||||
popd
|
||||
popd
|
||||
CXXFLAGS="-I${PWD}/build/gcc/include -I ${PREFIX}/include"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make -C build/gcc install STMP_FIXINC= DESTDIR="${DESTDIR}" MAKEINFO=true
|
||||
make -C build/libgcc install DESTDIR="${DESTDIR}" host_subdir=build
|
||||
make -C build/libstdc++-v3 install DESTDIR="${DESTDIR}"
|
||||
cp gcc/gsyslimits.h ${DESTDIR}${PREFIX}/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/include/syslimits.h
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
0b49887ba15ae4c28c9801a3456f6344a24aacaeee54d35514348de1b43a0f8e /image/bin/autopoint
|
||||
de3829ef981879ad69a5871627e5279d8dd41e0a9c2a2267f8f97c29db08bb8f /image/bin/gettextize
|
||||
7509a6d251647b4c6e9e4a565e59131bcf04790ddf7ae217593e443548658f3c /image/bin/recode-sr-latin
|
||||
779d697ce3f75620f976fd74c6fc94cb385bb4c5341d88499e50dd3c94871f2c /image/bin/msguniq
|
||||
8de43fec98e71ef617c63b8ef33281059b1c80f21ae6ebc2c916f66eaa4d5dd4 /image/bin/msginit
|
||||
e3ce76a27c5817e4bb67c7f5bed48443e21cd236cd512817bc52154e42f08a5b /image/bin/msggrep
|
||||
bf9f1b9ba9462cdf661060c16286b7bb7963548f522d18a0283bdb82a0afe234 /image/bin/msgfilter
|
||||
4ec559f229421478b9b990ed2440673b216b8804f51e0142ca2fb04e9ba15b9f /image/bin/msgexec
|
||||
4c5fa0d74bbf3cb0fba5fc0b5808aa8f5096a8acef1e3de19867044b044f3f3a /image/bin/msgen
|
||||
d0d36b2fdbe0603e357107076ffa28e8c1b1082aec9cd0aeabdf8ad9a8350cdf /image/bin/msgconv
|
||||
cf51994289d1a000c4f046a897f5870d91c4e13f08fdb6356f8746f7d944d979 /image/bin/msgcomm
|
||||
9866a5a8882e4a1335009b53c0078a9c2d60c004a4fa0bfd9015bc2a22eca657 /image/bin/msgcat
|
||||
7dc26dfc1fc63514902378d9169bd394554d13102b5d28890a58df501b14d89e /image/bin/msgattrib
|
||||
306e34cb106f5bcdd10470fa2447c6fe2b12a3bed368266ecea2222a54041cc2 /image/bin/xgettext
|
||||
140f5fa0e205f8fe98f9363eced4549eb9548f18481cbd2f1b413c0e84c6310d /image/bin/msgunfmt
|
||||
260dd447ced109d54231dede7af3a0334aed6bc59e14aa00a8d6805a0760656d /image/bin/msgmerge
|
||||
1d3a8a60a282606414eefb6c4864e6a7aa8dcf027694ef665a053454586b3133 /image/bin/msgfmt
|
||||
2098c9d7de2e371b1126888bc0e2082f9867cc04abc180067d9095f8c4751ab2 /image/bin/msgcmp
|
||||
b1c70a26633d0096404a6cd40a78ea61fba5d2d2b49359950241613ed29561db /image/bin/gettext.sh
|
||||
72900e493569e30a9fd24cb60219e8f6ebbd95d1983a78fe3b0f332831cd5b33 /image/bin/envsubst
|
||||
e6facf97d489693a75a13172e66ca966ea99e5fd63424dc3589d8af6a0b60b60 /image/bin/ngettext
|
||||
2ffc5bb3cd1f1d1003f396c2f4de971b6f7c2f00abbbff3475e10bfe2cd03679 /image/bin/gettext
|
||||
c35c35a6ec47cb39fdb28a4e937100fb54b6c8a9526b990a16ad6b18bfe2f220 /image/lib/libgettextpo.a
|
||||
ce01691a07cde9641280ba3e519754acf9c138bf222f827c381f9f90382f8245 /image/lib/libgettextpo.la
|
||||
d6ae3f511cc498740005918e41b64517c7cc69fb0259ac3ecd88919f0eae0173 /image/lib/gettext/project-id
|
||||
647e15c1984950fb6565842fb0f230e80a581e3222eef6f1171f9847e356acf1 /image/lib/gettext/user-email
|
||||
b069aab7140675d22d8f911a4e81f0ed3b59671d072032a2c66dea8d55d910a8 /image/lib/gettext/cldr-plurals
|
||||
a743f596b1ad2ee382bb39c27e0f52dbf50680127c1436d279b08be592ca1121 /image/lib/gettext/urlget
|
||||
aa477fba3b3e509d7d1ba241bda85550b3444445a5484264a09be99f99f15ebb /image/lib/gettext/hostname
|
||||
3a87cea1eff091def343084ceef113598d84e1a6591dd98ab88c2197f24215c0 /image/lib/libgettextsrc.la
|
||||
7e2804b5a97a509d72dcd6e2a93a6439f78a3675f79d5f976e043b0706f3f7d5 /image/lib/libgettextlib.la
|
||||
24957e93b8d64e81368fbcd58e55fabb0bab283bee23a0911297d9588d75cafe /image/lib/libtextstyle.a
|
||||
fc57ae9b0c7c796cd21ac6391319bfe47e2015aff7296d644015c11086024203 /image/lib/libtextstyle.la
|
|
@ -0,0 +1,2 @@
|
|||
bfaced23588bc183f34364896cdfbf63cf63418f577a7cd1b2964753445621a7 /image/lib/musl/libgmp.a
|
||||
67d949b017000c7493a8822e98d6ddbd88ca839509e4a1fbfa3997c86641b89e /image/lib/musl/libgmp.la
|
|
@ -0,0 +1 @@
|
|||
1f2a11dd9afd812a40ab44e5297ef375daddeda589c79d08be65958430c4ef82 /image/bin/gperf
|
|
@ -1 +1 @@
|
|||
107f1df091f5d1d7ad19def977135361836755eaab2120548afab7b23c582370 /usr/bin/grep
|
||||
107f1df091f5d1d7ad19def977135361836755eaab2120548afab7b23c582370 /image/bin/grep
|
||||
|
|
|
@ -1 +1 @@
|
|||
304cead634e6766db915155d422049269f66b2ff34a20a7f20819a0c69193d33 /usr/bin/gzip
|
||||
304cead634e6766db915155d422049269f66b2ff34a20a7f20819a0c69193d33 /image/bin/gzip
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
d1a3da2e1199a8a11e97d5b2b201d49452be4403c37b5af070c1001cf0a932a2 /usr/bin/yacc
|
||||
fe3bf155e60efebc7a4018bf55e228ee7b98b2c9da0588a8c89fd358b1530a66 /usr/bin/lex
|
||||
ffe696afc1bda32a5f4035e29b3275cab73a27df7635ccbe02ed49a30374ccdd /usr/lib/mes/libl.a
|
||||
d1a3da2e1199a8a11e97d5b2b201d49452be4403c37b5af070c1001cf0a932a2 /image/bin/yacc
|
||||
fe3bf155e60efebc7a4018bf55e228ee7b98b2c9da0588a8c89fd358b1530a66 /image/bin/lex
|
||||
ffe696afc1bda32a5f4035e29b3275cab73a27df7635ccbe02ed49a30374ccdd /image/lib/mes/libl.a
|
||||
bf3fb293f1ff89ee3dbcb08166c64b7a6793b49a12673d7633e3353ebea80d4d /yaccpar
|
||||
ee0f187b844f50d64c912bfcb5d73706662846d6d8a90b8b1fb20dda60464734 /lex/ncform
|
||||
|
|
|
@ -29,7 +29,9 @@ build () {
|
|||
mk_dir="${base_dir}/mk"
|
||||
files_dir="${base_dir}/files"
|
||||
|
||||
rm -rf "build"
|
||||
mkdir -p "build"
|
||||
|
||||
cd "build"
|
||||
|
||||
build_script="${base_dir}/${script_name}"
|
||||
|
@ -65,9 +67,6 @@ build () {
|
|||
echo "${pkg}: checksumming installed files."
|
||||
test -e "${checksum_f}" && sha256sum -c "${checksum_f}"
|
||||
|
||||
echo "${pkg}: cleaning up."
|
||||
rm -rf "build"
|
||||
|
||||
echo "${pkg}: build successful"
|
||||
cd "${SOURCES}"
|
||||
|
||||
|
@ -166,15 +165,3 @@ default() {
|
|||
canonicalise_all_files_timestamp() {
|
||||
find / -exec touch --no-dereference -t 197001010000.00 {} +
|
||||
}
|
||||
|
||||
populate_device_nodes() {
|
||||
# http://www.linuxfromscratch.org/lfs/view/6.1/chapter06/devices.html
|
||||
mkdir -p "${1}/dev"
|
||||
test -c "${1}/dev/null" || mknod -m 666 "${1}/dev/null" c 1 3
|
||||
test -c "${1}/dev/zero" || mknod -m 666 "${1}/dev/zero" c 1 5
|
||||
test -c "${1}/dev/ptmx" || mknod -m 666 "${1}/dev/ptmx" c 5 2
|
||||
test -c "${1}/dev/tty" || mknod -m 666 "${1}/dev/tty" c 5 0
|
||||
test -c "${1}/dev/random" || mknod -m 444 "${1}/dev/random" c 1 8
|
||||
test -c "${1}/dev/urandom" || mknod -m 444 "${1}/dev/urandom" c 1 9
|
||||
test -c "${1}/dev/console" || mknod -m 666 "${1}/dev/console" c 5 1
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Remove flex/bison files
|
||||
rm src/loadkeys.c src/analyze.c
|
||||
|
||||
# Fix musl incompat
|
||||
sed -i -e 's/u_char/unsigned char/g' \
|
||||
-e 's/u_short/unsigned short/g' src/dumpkeys.c src/loadkeys.y
|
||||
|
||||
AUTOPOINT=true autoreconf -fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix=${PREFIX}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Missing dependency in Makefile
|
||||
flex -o src/analyze.c src/analyze.l
|
||||
make MAKEINFO=true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make MAKEINFO=true DESTDIR=${DESTDIR} install
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
Add missing fcntl header.
|
||||
|
||||
--- src/kbdrate.c 2021-07-22 22:35:53.671970814 +1000
|
||||
+++ src/kbdrate.c 2021-07-22 22:36:10.038096797 +1000
|
||||
@@ -94,6 +94,7 @@
|
||||
};
|
||||
|
||||
#include <signal.h>
|
||||
+#include <fcntl.h>
|
||||
|
||||
#include "nls.h"
|
||||
#include "version.h"
|
|
@ -1,2 +0,0 @@
|
|||
55636ab04343262e257e2559074e36358b292491a90ff50f2a6ad2f94eb29b28 /usr/lib/kexec-tools/kexec_test
|
||||
908da401f056cdc118015014ec1c366a666a3c5e3958726582c245bab5038a41 /usr/sbin/kexec
|
|
@ -1,16 +0,0 @@
|
|||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix=${PREFIX}
|
||||
# --target=i386-unknown-linux-gnu \
|
||||
# --host=i386-unknown-linux-gnu \
|
||||
# --build=i386-unknown-linux-gnu
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
GCC 4 does not recognise -fno-stack-protector.
|
||||
|
||||
--- purgatory/Makefile 2021-06-03 17:03:41.534638295 +1000
|
||||
+++ purgatory/Makefile 2021-06-03 17:03:50.489716136 +1000
|
||||
@@ -49,7 +49,7 @@
|
||||
$($(ARCH)_PURGATORY_EXTRA_CFLAGS) \
|
||||
-Os -fno-builtin -ffreestanding \
|
||||
-fno-zero-initialized-in-bss \
|
||||
- -fno-PIC -fno-PIE -fno-stack-protector
|
||||
+ -fno-PIC -fno-PIE
|
||||
|
||||
$(PURGATORY): CPPFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS) \
|
||||
-I$(srcdir)/purgatory/include \
|
|
@ -1,2 +1,2 @@
|
|||
7dbd82c34610847bbd7fbfce7b5797671a2ab2fdce83ec7375f2fed8692096d4 /usr/lib/musl/libltdl.a
|
||||
d1dc943c5b262b96cf159f902eabd2f40aaa8e722fa80949296761d725e2176e /usr/lib/musl/libltdl.la
|
||||
394e908c57c289a688190bc2be99bab32d32c67e7e592a678f75b47045468c99 /image/lib/musl/libltdl.a
|
||||
5c47c033eac4df421432309089c95ea794f8e9cf275dcab2fc120dbab94e36f0 /image/lib/musl/libltdl.la
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
203e6f11acbacd7bbfbff24be4ee91dfe6b6ea5f6978998eac0e24f648007297 /usr/lib/musl/libltdl.a
|
||||
4418ede5a8b651e1c28bd40d74b8006f604057ac55e2877724d41ea3b5aa26e6 /usr/lib/musl/libltdl.la
|
||||
688cc9a68dfb360171169b95ac4f1e9c02151a4c857f50e8d49ee611d8041338 /image/lib/musl/libltdl.a
|
||||
6432256a940d6ccb7affb273f93bdd72351d90c8329bab927962c06ac90a26bc /image/lib/musl/libltdl.la
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
b7681405b71f47d605fe5d17aeb26425b5f3269d11fc95e72a281d90934bec48 /image/lib/musl/libunistring.a
|
||||
92fdc350d4141210cf1d01d271dd5a564ff6b4337b4de2f1f135a91a6541e0c2 /image/lib/musl/libunistring.la
|
File diff suppressed because it is too large
Load Diff
|
@ -1,62 +0,0 @@
|
|||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_unpack() {
|
||||
default || true # Predictable link errors - not a problem
|
||||
|
||||
cp ../src/deblob-4.9 ../src/deblob-check ${pkg}/
|
||||
|
||||
# Clear up storage space
|
||||
rm -rf ../src
|
||||
}
|
||||
|
||||
generate_autoconf_h() {
|
||||
# generate include/linux/autoconf.h -- we do not have gperf rn to do it the normal way
|
||||
mkdir -p include/generated
|
||||
# Transform each of the CONFIG_* options that are =y into header
|
||||
grep -E '=y$' .config | sed 's/=y$/ 1/' | sed 's/^/#define /' >> include/generated/autoconf.h
|
||||
# Transform each of the CONFIG_* options that are unset into headers
|
||||
grep -E ' is not set$' .config | sed 's/ is not set$//' | sed 's/#/#undef/' >> include/generated/autoconf.h
|
||||
# Transform each of the non-boolean options into headers
|
||||
grep -E '=.*$' .config | grep -v -E '=y$' | sed 's/=/ /' | sed 's/^/#define /' >> include/generated/autoconf.h
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mv config .config
|
||||
mkdir -p include/config
|
||||
cp .config include/config/auto.conf
|
||||
|
||||
generate_autoconf_h
|
||||
|
||||
# Deblob the kernel
|
||||
chmod +x deblob-4.9 deblob-check
|
||||
# Don't use gawk, use sed
|
||||
AWK=dosentexist ./deblob-4.9
|
||||
|
||||
# Remove shipped files
|
||||
find . -name "*_shipped*" -delete
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Generate the initramfs so we can remove /sysb
|
||||
make ARCH=i386 prepare
|
||||
make ARCH=i386 usr/
|
||||
mkdir -p "${PREFIX}/boot"
|
||||
mv usr/initramfs_data.cpio.gz "${PREFIX}/boot/initramfs-sysb"
|
||||
make clean
|
||||
rm -rf /sysb
|
||||
sed -i 's:/sysb::' .config
|
||||
cp .config include/config/auto.conf
|
||||
rm include/generated/autoconf.h
|
||||
generate_autoconf_h
|
||||
|
||||
make ARCH=i386 prepare
|
||||
make ARCH=i386
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cp arch/i386/boot/bzImage "${PREFIX}/boot/linux-4.9.10"
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
Remove the 68() which I'm not really sure what it does but still works and
|
||||
breaks our version of binutils.
|
||||
|
||||
--- arch/x86/boot/bioscall.S 2021-07-31 17:50:09.519480274 +1000
|
||||
+++ arch/x86/boot/bioscall.S 2021-07-31 18:21:32.086972277 +1000
|
||||
@@ -65,7 +65,7 @@
|
||||
movw %ax, %es
|
||||
|
||||
/* Copy output state from stack frame */
|
||||
- movw 68(%esp), %di /* Original %cx == 3rd argument */
|
||||
+ movw %sp, %di /* Original %cx == 3rd argument */
|
||||
andw %di, %di
|
||||
jz 4f
|
||||
movw %sp, %si
|
|
@ -1,22 +0,0 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
There's something incorrect with this macro for live-bootstrap, most likely as
|
||||
a result of the dodgy installation of linux-headers. However, there is no
|
||||
problem with this, and it is verified that BITS_PER_LONG __BITS_PER_LONG
|
||||
have functional and correct values.
|
||||
|
||||
--- tools/include/asm-generic/bitsperlong.h 2021-07-31 11:50:26.616768608 +1000
|
||||
+++ tools/include/asm-generic/bitsperlong.h 2021-07-31 11:50:36.786847443 +1000
|
||||
@@ -9,10 +9,6 @@
|
||||
#define BITS_PER_LONG __WORDSIZE
|
||||
#endif
|
||||
|
||||
-#if BITS_PER_LONG != __BITS_PER_LONG
|
||||
-#error Inconsistent word size. Check asm/bitsperlong.h
|
||||
-#endif
|
||||
-
|
||||
#ifndef BITS_PER_LONG_LONG
|
||||
#define BITS_PER_LONG_LONG 64
|
||||
#endif
|
|
@ -1,17 +0,0 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
This seemingly useless statement (redefined a couple of lines later) is
|
||||
not liked by our version of binutils.
|
||||
|
||||
--- arch/x86/kernel/vmlinux.lds.S 2021-07-31 18:45:14.787124887 +1000
|
||||
+++ arch/x86/kernel/vmlinux.lds.S 2021-07-31 18:43:16.234180449 +1000
|
||||
@@ -170,7 +170,6 @@
|
||||
. = __vvar_beginning_hack + PAGE_SIZE;
|
||||
} :data
|
||||
|
||||
- . = ALIGN(__vvar_page + PAGE_SIZE, PAGE_SIZE);
|
||||
|
||||
/* Init code and data - will be freed after init */
|
||||
. = ALIGN(PAGE_SIZE);
|
|
@ -1,18 +0,0 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
We do not use the _shipped version of the keymap generated using loadkeys.
|
||||
For some reason the makefile needs to be patched for this to work...
|
||||
|
||||
--- drivers/tty/vt/Makefile 2021-07-27 21:11:24.743104498 +1000
|
||||
+++ drivers/tty/vt/Makefile 2021-07-27 21:11:34.261186200 +1000
|
||||
@@ -22,7 +22,7 @@
|
||||
# Uncomment if you're changing the keymap and have an appropriate
|
||||
# loadkeys version for the map. By default, we'll use the shipped
|
||||
# versions.
|
||||
-# GENERATE_KEYMAP := 1
|
||||
+GENERATE_KEYMAP := 1
|
||||
|
||||
ifdef GENERATE_KEYMAP
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue