Giter Site home page Giter Site logo

muhamadajiw / tcl-playground Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.3 MB

Personal repository for Distributed Systems Lab activities. A space to experiment with tinycorelinux.

Shell 4.24% Makefile 3.88% Python 91.88%
linux operating-system os tinycorelinux

tcl-playground's Introduction

Build ISO untuk praktikan

suggoitanoshi, 18/09/2021
marfgold1, 20/09/2022

Prereq (by marfgold1)

  • Linux
  • Install advdef dan mkisofs terlebih dahulu (atau any package yg belum diinstall pas jalanin prepISO.sh)

    Untuk advdef sama mkisofs bisa diinstall dengan command berikut:
    sudo apt install advancecomp genisoimage

How to (by marfgold1)

  1. Ubah soal pada Orkom-DatalabISO. Lakukan generate datalab-handout.

    Baca README pada folder yang bersangkutan untuk info lebih lanjut. atau extract tar -vxf datalab-handout.tar

  2. Copy datalab-handout.tar yang telah di-generate sebelumnya ke dalam folder ini (Orkom-DatalabISO-isobuilder).
  3. Ubah banner user praktikum pada sister/etc/motd (dan labsister-module/usr/local/lib/lab_sister/init untuk banner sister).
  4. Jalankan prephandout.sh untuk mengambil file-file yang diperlukan pada datalab-handout ke lib user + skel.
  5. Jalankan getfiles.sh untuk mendapatkan base iso + modules.
  6. Jalankan prepISO.sh untuk generate iso. Hasil iso ada di ${OUTPUT_ISO_FILENAME} (orkom.iso, unless kalian specify otherwise).
  7. Ketika mau hapus-hapus file, bisa pake clean.sh. Dengan menjalankan clean, kalian harus ulang lagi dari tahap 3 (karena folder lib akan direset)

    Langkah 4-6 bisa digabung menjadi jalankan build.sh untuk langsung generate .iso

Config:

vars.sh

Konfigurasi global beberapa nama

module.txt

Konfigurasi daftar module yang dimasukkan ke iso. Daftar module yang bisa dimasukkan didapat dari sumber.

inject.txt

Konfigurasi daftar file external yang dimasukkan ke iso. Format di dalamnya berupa url download dari web atau api.

Scripts:

prephandout.sh

Mengambil file-file yang diperlukan pada datalab-handout ke lib user + skel.

getfiles.sh

Mendownload file-file yang dibutuhkan ke folder yang sesuai

prepISO.sh

Membuat file ISO

build.sh

Memanggil prephandout.sh, getfiles.sh, dan prepIso.sh sekaligus untuk membuat file .iso

clean.sh

Membersihkan file-file tidak berguna

Also Read

TinyCore Notes
Changelog

tcl-playground's People

Contributors

muhamadajiw avatar

Watchers

 avatar

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.