aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 5a57f97a1283657e4f5cc0164e2af36f7c9fc0e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
MuSlack
=======

NOTICE: This project is stale.  If the opportunity arises, the project will be ported
over to use Slackware 15.0 as a base.

MuSlack is an unoffical attempt at porting some
[Slackware](https://www.slackware.com) current packages to statically built
[musl](https://www.musl-libc.org) based ones.

Pre-Release
-----------

  - Build system must be extremely reliable and secure.
  - System must be able to update self
  - System must be useful, with openssh, ftp server
  - System must be buildable from standard Slackware
  - System must be able to build self
  - System may include HTTP and hopefully SAMBA
  - Revamp README

Auditing Changes
----------------

An easy way to audit the build scripts is to compare them to Slackware's
official one.  To do this, copy the '.git' folder from this project into the
root of Slackware-current and run 'git diff'.

Requirements
------------

  - [bubblewrap](https://slackbuilds.org/repository/14.2/system/bubblewrap/)
  - [musl libc](https://slackbuilds.org/repository/14.2/system/musl/)
  - Slackware OS

Building these Packages
-----------------------

To build the packages in this project, a locally installed MuSlack system is
used under /opt/muslack.

    export PATH=/bin:/sbin:$PATH:$(realpath ./cmd)
    sudo mkdir /opt/muslack
    sudo chown $USER /opt/muslack
    
    # Pull supporting package contents from Slackware
    sync-files.sh

    # Create _very_ minimal base system
    init-env.sh

    # Enter build environment
    build-env.sh

    # install kernel headers
    (
      cd /tmp
      wget ftp://ftp.slackware.com/pub/slackware/slackware64-current/slackware64/d/kernel-headers-4.4.14-x86-1.txz
      wget ftp://ftp.slackware.com/pub/slackware/slackware64-current/slackware64/d/kernel-headers-4.4.14-x86-1.txz.asc
      gpg2 --verify-files *.asc
      installpkg kernel-headers*.txz
    )

    # Try building + installing everything
    build-all.sh