physixproject / physix Goto Github PK
View Code? Open in Web Editor NEWPhysix is an Experimental, Automated, Build-From-Source, Punk Rock Linux Distribution for i386, and x86_64
License: GNU General Public License v2.0
Physix is an Experimental, Automated, Build-From-Source, Punk Rock Linux Distribution for i386, and x86_64
License: GNU General Public License v2.0
Add option to create an initramfs during build
Fix Python build 4.700-python
Install section fails
Add bpftrace to testing group
https://github.com/iovisor/bpftrace
in subject
Update version of strace
https://www.mail-archive.com/[email protected]/msg17005.html
Add Pacman package manager
If source has not been pulled, and a build it attempted, it reports failed
md5sum check, which isn't entirely accurate as to why.
root@physix 1 [ physix ]# ./catalyst -b 07-lxde.json
[INFO] Building Recipe
[ERROR] verify_recipe_md5
build/install during base install.
using this module will reduce the dependency
on host system's wget command.
check PATH for /sbin
it makes finding mkfs.fat easier
Replace calls to md5sum with python's hashlib
Can Python2.7 can be removed?
It is deprecated after all....
FR: catalyst show simplified view of what a recipe will build
Example: catalyst --stack 04-utils.json
0. nettle-3.5.1.tar.gz
Tools are needed for making changes fast, easy and less error prone.
pinsert - tool to create and insert new json element in build recipes.
and readjust numbering, and reprinting out the json file numerically.
pupdate - update element with new package version, md5sum, download path.
pedit - open build directory for file using reciepe number and pkg number.
catalyst -l returns the current stack's build log.
Add stack argument such that you can output the build log of a different stack.
Based on what partition is set at boot in physix.conf
the grub.cfg might have the root device set which will cause boot to fail
set root=(hd0,?)
Add check to verify this is correct during installation
dosfstools and btrfs-progs
This makes some sense, but was it problem before?
root@physix 1 [ physix ]# wget https://physixproject.org/source/toolchain/binutils-2.34.tar.xz
--2023-03-13 18:53:28-- https://physixproject.org/source/toolchain/binutils-2.34.tar.xz
Resolving physixproject.org... 35.227.157.146
Connecting to physixproject.org|35.227.157.146|:443... connected.
ERROR: cannot verify physixproject.org's certificate, issued by 'CN=R3,O=Let's Encrypt,C=US':
Unable to locally verify the issuer's authority.
To connect to physixproject.org insecurely, use `--no-check-certificate'.
It might be useful to have a list in recipe files, to prevent building of packages you would like to explicitly leave out.
Building on Debian 11
./catalyst -t 01-toolchain.json
[ERROR] stderr:fatal: detected dubious ownership in repository at '/mnt/physix/opt/admin/physix'
To add an exception for this directory, call:
Fixed with
git config --global --add safe.directory /mnt/physix/opt/admin/physix
would be nice to time builds
Hi, this is just a question for installation. Can you install on a 62 gig partition? Or can you only use a blank device? Thanks for reading.
Need to create process for creating a bootable ISO/USB image.
Create project physix-on-usb
Remove Xorg, lightdm, and lxde.
very rarely used, no time to support it, nor care to.
Technically it will always be in the git change history, but
will fall out of date over time.
Update pull_sources() function to use 'Requests' Python Module
There are many opportunity to replace subprocess commands like 'rm -r XYZ' and 'cp' with function in shutils.
3.030-network-conf doesn't always work out.
Lots of room for improvement and accuracy.
Describe the bug
Observed on a lfs linux distro:
Compiled the kernel (with gcc 9.2) at commit id 0ddad21d3e99 (version5.5).
After booting this new kernel, and executing make -j8
on the linux src,
the 8 core system load reported by uptime
never hits above ~1.68.
Could not reproduce this on Debian 10.2, (same kernel config, used gcc 8.3).
Next: Test debian against gcc 9.2 exact config as physix
A Quickstart guide would be nice
something like
Do this to run
"cd ; ./runthething.sh; ./runtests.sh"
There should be a systemd unit script which should run early that calls set-perf-gov.sh
mv physix specific ttolls to /usr/local/bin/physix
Initialiaztion check fro mkfs.fat
if the path is not correct, then set it, even if it is only local
efivar bug rhboot/efivar@4e04afc
has been fixed in mainline but it is not part of the most recent release (efivar-37).
Without this fix efibootmgr fails 'efibootmgr -v'
Create patch to apply during 2.590-efivar.sh
Version: Beta-3.3
Repro:
./catalyst -r base_0
./catalyst -d base_0
./catalyst -D STACK_0
reboot
./catalyt -l ; will not show the initial build history for STACK_0
Convert json build recipes to yaml
and tweak catalyst to know how to use it.
This will make /root contents snapshot independent.
pip install requests
Something odd is happening causing like 187 of /usr/lib/python3.7/shlex.py
to raise exception
raise ValueError("No closing quotation")
pip3 install requests
Exception:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 179, in main
status = self.run(options, args)
File "/usr/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 255, in run
with self._build_session(options) as session:
File "/usr/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 93, in _build_session
insecure_hosts=options.trusted_hosts,
File "/usr/lib/python3.7/site-packages/pip/_internal/download.py", line 344, in __init__
self.headers["User-Agent"] = user_agent()
File "/usr/lib/python3.7/site-packages/pip/_internal/download.py", line 108, in user_agent
zip(["name", "version", "id"], distro.linux_distribution()),
File "/usr/lib/python3.7/site-packages/pip/_vendor/distro.py", line 120, in linux_distribution
return _distro.linux_distribution(full_distribution_name)
File "/usr/lib/python3.7/site-packages/pip/_vendor/distro.py", line 674, in linux_distribution
self.name() if full_distribution_name else self.id(),
File "/usr/lib/python3.7/site-packages/pip/_vendor/distro.py", line 712, in name
name = self.os_release_attr('name') \
File "/usr/lib/python3.7/site-packages/pip/_vendor/distro.py", line 883, in os_release_attr
return self._os_release_info.get(attribute, '')
File "/usr/lib/python3.7/site-packages/pip/_vendor/distro.py", line 550, in __get__
ret = obj.__dict__[self._fname] = self._f(obj)
File "/usr/lib/python3.7/site-packages/pip/_vendor/distro.py", line 922, in _os_release_info
return self._parse_os_release_content(release_file)
File "/usr/lib/python3.7/site-packages/pip/_vendor/distro.py", line 953, in _parse_os_release_content
tokens = list(lexer)
File "/usr/lib/python3.7/shlex.py", line 295, in __next__
token = self.get_token()
File "/usr/lib/python3.7/shlex.py", line 105, in get_token
raw = self.read_token()
File "/usr/lib/python3.7/shlex.py", line 187, in read_token
raise ValueError("No closing quotation")
ValueError: No closing quotation
Traceback (most recent call last):
File "/usr/bin/pip3", line 10, in <module>
sys.exit(main())
File "/usr/lib/python3.7/site-packages/pip/_internal/__init__.py", line 78, in main
return command.main(cmd_args)
File "/usr/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 228, in main
timeout=min(5, options.timeout)
File "/usr/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 93, in _build_session
insecure_hosts=options.trusted_hosts,
File "/usr/lib/python3.7/site-packages/pip/_internal/download.py", line 344, in __init__
self.headers["User-Agent"] = user_agent()
File "/usr/lib/python3.7/site-packages/pip/_internal/download.py", line 108, in user_agent
zip(["name", "version", "id"], distro.linux_distribution()),
File "/usr/lib/python3.7/site-packages/pip/_vendor/distro.py", line 120, in linux_distribution
return _distro.linux_distribution(full_distribution_name)
File "/usr/lib/python3.7/site-packages/pip/_vendor/distro.py", line 674, in linux_distribution
self.name() if full_distribution_name else self.id(),
File "/usr/lib/python3.7/site-packages/pip/_vendor/distro.py", line 712, in name
name = self.os_release_attr('name') \
File "/usr/lib/python3.7/site-packages/pip/_vendor/distro.py", line 883, in os_release_attr
return self._os_release_info.get(attribute, '')
File "/usr/lib/python3.7/site-packages/pip/_vendor/distro.py", line 550, in __get__
ret = obj.__dict__[self._fname] = self._f(obj)
File "/usr/lib/python3.7/site-packages/pip/_vendor/distro.py", line 922, in _os_release_info
return self._parse_os_release_content(release_file)
File "/usr/lib/python3.7/site-packages/pip/_vendor/distro.py", line 953, in _parse_os_release_content
tokens = list(lexer)
File "/usr/lib/python3.7/shlex.py", line 295, in __next__
token = self.get_token()
File "/usr/lib/python3.7/shlex.py", line 105, in get_token
raw = self.read_token()
File "/usr/lib/python3.7/shlex.py", line 187, in read_token
raise ValueError("No closing quotation")
ValueError: No closing quotation
- - - - - - - - - - - - - - - - - - - -
root@physix 1 [ physix ]#
This makes automated tool easier to write
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.