Coder Social home page Coder Social logo

mylfs's People

Contributors

krglaws avatar useraid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mylfs's Issues

Not bootable iso

Hello,

Thanks for your great job.

I running your script without errors. The IMG file was generate with 10GB.

I used DD to generate ISO file from IMG file, but on the test on Virtual Box the message "Not bootable medium found..." appear.

Failing to download packages

Getting to "Downloading packages to /mnt/lfs/sources...", sits there for a couple of minutes then returns me to the terminal prompt. No errors or warnings.

Checking system dependencies... done.
Creating image file... done.
Creating basic directory layout... done.
Downloading packages to /mnt/lfs/sources... 

Ubuntu 21.10

Version checking giving wrong results

When running the initial build.sh script, I get the following errors:
Checking system dependencies... ERROR: ld does not satisfy minimum version 2.13.1 ERROR: gcc does not satisfy minimum version 4.8 ERROR: g++ does not satisfy minimum version 4.8 ERROR: /usr/bin/yacc needs to be a link to /usr/bin/bison.yacc done.
But when I run version-check.sh from the official lfs book (https://linuxfromscratch.org/lfs/view/stable/chapter02/hostreqs.html), I don't get any errors:
bash, version 5.1.16(1)-release /bin/sh -> /usr/bin/bash Binutils: (GNU Binutils) 2.38 bison (GNU Bison) 3.8.2 yacc is bison (GNU Bison) 3.8.2 Coreutils: 9.0 diff (GNU diffutils) 3.8 find (GNU findutils) 4.9.0 GNU Awk 5.1.1, API: 3.1 (GNU MPFR 4.1.0-p13, GNU MP 6.2.1) /usr/bin/awk -> /usr/bin/gawk gcc (GCC) 11.2.0 g++ (GCC) 11.2.0 grep (GNU grep) 3.7 gzip 1.11 Linux version 5.17.1-arch1-1 (linux@archlinux) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT Mon, 28 Mar 2022 20:55:33 +0000 m4 (GNU M4) 1.4.19 GNU Make 4.3 GNU patch 2.7.6 Perl version='5.34.1'; Python 3.10.4 sed (GNU sed) 4.8 tar (GNU tar) 1.34 texi2any (GNU texinfo) 6.8 xz (XZ Utils) 5.2.5 g++ compilation OK
This is running from a fresh install on endeavour os.

Thoughts on further developnent

There is no "Discussion" section so typing here.

It is a preatty well made script for making a LFS image.
But i have some thoughts and ideas that can be done here.

  1. I think it would be better to have a option of build iso or img (depending of needs of person) or even combine both with SquashFS. What do you think of this?
  2. Chunk of script is pretty good at handling modules or aka additional phases. What if script will have ability to build BLFS and even CLFS? And also person can deside what packages he want by providing something like config name which will be a txt with packages from blfs/clfs he/she wants to install. How about that?
  3. Making a named file structure can be hard for some people, when put in a folder like structure is much easier to operate.... Idk, maybe it's only hard for me, but having a folder-like stucture for static and templates will be easier for me. (If path detection is an issue, find command is for help)

Currently i'll create a separate branch for making BLFS posible and will fix some folder naming to make it easier. Maybe i'll edit function to be universal for this task...

Maybe you have some thoughts to make something for this to be usefull?

needed some explanations in Readme.md

First: need to fix a phrase sudo ./build.sh to sudo ./mylfs.sh
Second: there is an error at the beginning when it not creating pkgs folder.
Third: it would be perfect if there was a table with Phases and Instructions for some people. This will allow to analyse more on which phase do what.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.