Skip to content

Pixailz/ft_linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FT_LINUX

Some ressources

  1. The subject

  2. Linux From Scratch

  3. POSIX.1-2008

  4. Filesystem Hierarchy Standard

  5. Linux Standard Base

  6. Beyond Linux From Scratch (systemd)

BookMark

  1. Linux From Scratch 12.1

    finished

  2. Beyond Linux From Scratch

    https://linuxfromscratch.org/blfs/view/12.1-systemd/postlfs/security.html

How To

Run

sudo env TARGET_DISK=<target_disk> ./run

Configure Package

A package_meta_in is here to specify:

  1. A package id, associating:
    1. A repo type and link, to scrap latest link from
    2. A package prefix, helping scraping and construction output file name
    3. A package suffix, also helper scraping and construction output file name. some helping choosing a package version

When launching with this config in run

declare -x	GET_PACK_SAVE=1
declare -x	GET_PACK_CHECK_REPO=1

the script will update the package_meta_in file

TODO

  1. difference occure when package configure in /etc/passwd and /etc/group

  2. Find a way to determine boot sda1 -> hd(1,1)

  3. Fix not scrollable screen (daemon bugs)

IDEA

  1. Add support for more editor
  2. Add color on pushd / popd

Shell Check

shellcheck -xa -Calways ./run