Commit Graph
152 Commits
Author SHA1 Message Date
Daniel Markstedt af834bf019 update scsiexec tarball URL and fix install logic 2026-08-27 22:59:43 +02:00
Daniel Markstedt 576dd5222b move compilation out of easyinstall.sh
now users are expected to either install a binary deb package or use the build system directly when installing piscsi and the clients

create an INSTALL.md file with instructions how to use both the Makefile and Meson build systems

easyinstall.sh has been restructured to handle companion app installation solely, while the Netatalk installation script uses the Debian package instead of compiling from source

move the network configuration ASCII graphics over to the piscsi-network-profile script
2026-08-26 23:43:18 +02:00
Daniel Markstedt 5613ad35b2 Use more system deb packages for Python dependencies
Leveraging the Debian packaging allows us to preload more packages in the release image, while speeding up the initial pip install process when creating the venv

We also cut down on python package version upgrades maintenance overhead

Now the Web UI and OLED startup scripts are flagged to use system libraries when creating venvs
2025-12-23 22:51:15 +01:00
Daniel Markstedt e6bdc8e08d easyinstall: merge netatalk image dir sharing with netatalk installation 2025-12-03 23:39:57 +01:00
Daniel Markstedt c99eeef4bf easyinstall: build hfsutils from source if needed 2025-12-03 23:39:57 +01:00
Daniel Markstedt 9194ecced5 easyinstall: move apt update into a function, reducing frequency 2025-12-03 23:39:57 +01:00
Daniel Markstedt 0e8d0e6d4f easyinstall: fallback when hfsutils package is not found
Refactor the deb packages to always separate backend and frontend packages,
then capture the error of a missing hfsutils (fell off Debian Trixie)

A future improvement would be to either build hfsutils from scratch,
or move to something like djjr
2025-12-03 23:39:57 +01:00
Daniel Markstedt a99e1c51b9 Move the protobuf source into its own dir in the repo root
The protobuf source file is used by more than just the C++ code,
so let's move it into its own location for consistency and discoverability
2025-12-03 23:20:46 +01:00
Daniel Markstedt 620ba590f8 easyinstall: remove python package caching
The python package caching has proven ineffectual, and this method of caching is now actually illegal in Raspbian Trixie (system python environment is externally managed to prevent dependency hell)
2025-11-28 09:01:15 +01:00
Daniel Markstedt b8406b6bf8 easyinstall: consolidate OLED and Ctrlboard packages, add missing ones
Define the packages globally, adding python3-smbus python3-spidev to the latter
2025-11-26 22:08:39 +01:00
Daniel Markstedt a78f44ff32 easyinstall: remove legacy data cleanup routines
The script has a bunch of steps for renaming or removing user data originating in the era when the project was called RaSCSI

It's been 3 years now since the renaming to PiSCSI, so it's time to simplify the script

If someone needs to migrate old data, they should do an upgrade to an intermediate release first, and then to the latest release
2025-11-23 09:45:03 +01:00
Daniel Markstedt 552506bd4b easyinstall: don't mess with the git repo
The easyinstall script tries to do some clever git operations for every time you build piscsi to make sure you're always on the latest revision of your branch

However I think this is unintuitive and dangerous to do in a script; better to leave it up to the user to run git commands before easyinstall

It also makes it impossible to use the script when you're on a work branch that can't be fast forwarded to the remote state
2025-11-23 09:27:00 +01:00
Daniel Markstedt 965c1b4cd6 migrate to netatalk 4.3.2
Use the latest v4 release tarball to build, which can be installed on top of an older v2 installation

Removed the "cores" option since meson is much better at doing dynamic multi threaded compilation

Also, the netatalk webmin module installation is now part of the netatalk build system proper
2025-11-23 09:26:19 +01:00
Daniel Markstedt fec898f899 bump to Macproxy Classic v25.11.1 2025-11-23 09:26:00 +01:00
BogDan Vatra a985fc83e4 Say hello to Streamer (tape) device support
Implements the mandatory and a few optional commands for tandberd see
https://bitsavers.org/pdf/tandbergData/TDC4100/6047-1_TDC-4100_SCSI-2_Interface_Functional_Specification_Aug1991.pdf
for more info.

Fixed #480
2025-11-07 07:43:21 +01:00
Daniel Markstedt a7538980d7 Bump to netatalk 2.3.2 2024-04-23 08:00:42 +09:00
Daniel Markstedt 85dc2cf0be Bump Netatalk Webmin module to 1.3 (#1454) 2024-04-20 15:24:15 -07:00
Daniel Markstedt 973ae99582 Bump Webmin module versions 2024-02-12 09:21:11 +09:00
Daniel Markstedt e6315a8381 Local Netatalk install script, bump to v2.3.1 2024-02-12 09:21:11 +09:00
Delan Azabani 2f483fdd9c Fix problems installing on Raspberry Pi OS 12 (bookworm) (#1408)
* Fix problems installing on Raspberry Pi OS 12 (bookworm)

* don’t cachePipPackages in option 1

* add gcc to required packages for web container
2024-01-11 14:11:06 +09:00
Daniel Markstedt cd5666ae14 Freeze Python requirements for the Control Board client 2023-12-16 01:32:32 -08:00
Daniel Markstedt 24e60faed6 Install and use the vsftpd webmin module 2023-12-14 18:02:18 -08:00
Daniel Markstedt 0f352396be easyinstall.sh: fix typos in script syntax (#1391)
* easyinstall.sh: fix typo in sudoCache() function name

* Fix typo in apt-get command
2023-11-27 16:02:01 +09:00
PiSCSI User fe1d2dd421 revert moving webmin to sub-path 2023-11-18 16:12:46 +00:00
Uwe SeimetandFrank Danapfel e5b99d4fa9 Fix typo (choice 0) in easyinstall.sh (#1372)
* Fix typo (choice 0) in easyinstall.sh

Co-authored-by: Frank Danapfel
2023-11-17 13:00:03 +01:00
Benjamin Krein abedf4ed23 Merge pull request #1354 from benjamink/webmin-via-url-path
Config Nginx to serve Webmin via /webmin path
2023-11-17 05:54:29 -05:00
Benjamin Krein bd01c031c6 config webmin at /webmin path in nginx 2023-11-13 19:30:06 -05:00
Benjamin Krein 1f3e3e1245 automate interaction for webmin install 2023-11-13 19:16:04 -05:00
Daniel Markstedt b5e40c7f9b easyinstall: Add ca-certificates to list of packages to install with apt (#1341)
* Add ca-certificates to list of packages to install with apt

* Remove dhcpcd from packages to install
2023-11-11 06:10:37 -08:00
Daniel Markstedt 2e2df10531 Install the dhcpcd package with the common bundle 2023-11-10 19:33:09 +09:00
Daniel Markstedt a6136c7f4a Check for webmin module config before modifying 2023-11-08 18:17:14 +09:00
Benjamin Krein bd5341d62d address review items 2023-11-05 20:10:01 +09:00
Benjamin Krein 51220d41ad remove redundant package install 2023-11-05 20:10:01 +09:00
Benjamin Krein 3c00716b06 add missing dependency 2023-11-05 20:10:01 +09:00
Benjamin Krein cde190a2cb fix netatalk paths in webmin 2023-11-05 20:10:01 +09:00
Daniel Markstedt 07a4826167 The Webmin netatalk module depends on libcgi-session-perl 2023-11-04 22:13:39 +09:00
Daniel Markstedt cad3df690e Deliberately remove a previous venv for the python clients 2023-11-04 21:21:52 +09:00
Uwe Seimet 41bdcd4aed Issues 1179 and 1182 (#1232)
* Update logging

* Remove duplicate code

* Update unit tests

* Clean up includes

* Merge ProtobufSerializer into protobuf_util namespace

* Precompile regex

* Add const

* Add Split() convenience method, update log level/ID parsing

* Move log.h to legacy folder

* Elimininate gotos

* Fixes for gcc 13

* Update compiler flags

* Update default folder handling

* Use references instead of pointers

* Move code for better encapsulation

* Move code

* Remove unused method argument

* Move device logger

* Remove redundant to_string

* Rename for consistency

* Update handling of protobuf pointers

* Simplify protobuf usage

* Memory handling update

* Add hasher
2023-10-15 08:38:15 +02:00
Daniel Markstedt 2ced0d3515 Default compiler threads based on available RAM, but no more or less than available cores 2023-10-07 19:46:30 +09:00
Daniel Markstedt 65c1b194c5 Manage Samba and Netatalk with Webmin (#1217)
* Display status of Samba/Netatalk/vsftp in the footer, with links to Webmin module

* Add option to install Webmin and the netatalk2 module
2023-09-24 09:30:54 -07:00
Daniel Markstedt 3b6822d7c8 easyinstall: Dynamically detect an available network i/f, and abort if none is found (#1193)
* Dynamically detect an available network i/f, and abort if none is found

* Network i/f fallback for headless mode

* Split piscsi installation and system service configuration
2023-07-31 12:13:23 -07:00
Daniel Markstedt fa2b02b222 Bump netatalk 2.x version to 230701 (#1185) 2023-07-17 19:23:10 -05:00
Daniel Markstedt 8dd5071122 Bump Netatalk to v230302 (#1142) 2023-04-09 19:29:25 -05:00
Daniel Markstedt ff017a9c1d Web UI: Handling for non-existence of working dirs (#1130) 2023-03-23 20:07:19 -07:00
Daniel Markstedt b6cc6a23af Bump to Netatalk 2.x 230301 (#1119) 2023-03-06 09:18:04 -08:00
Daniel Markstedt 3de66af55c Use one core with the compiler by default (#1114) 2023-03-02 13:51:22 -08:00
Daniel Markstedt 282c639438 Netatalk: Configure atalkd to use piscsi_bridge by default
- Inject piscsi_bridge into atalkd.conf if in use (#1088)
- Pass more parameters to the Netatalk script (cores, headless, no make clean, no packages)
- Bump to Netatalk 2.x 230202
2023-02-27 14:26:30 -08:00
Tony KukerandTony Kuker 059a31ba53 add special option for pi-gen for building piscsi images (#1107)
Co-authored-by: Tony Kuker <akuker@gmail.com>
2023-02-26 20:29:32 -06:00
Daniel Markstedt 4d9d90aaa5 Bump Netatalk version to 2.230201 (#1093) 2023-02-05 09:30:45 -08:00
Daniel Markstedtandnucleogenic 071fdd2dd5 Move os_integration to root level (#1085)
* Move the os_integration dir from cpp/ to root level

Co-authored-by: nucleogenic <nr@nucleogenic.com>
2023-01-28 15:03:41 -08:00