Browse Source

Initial install resources

nsITobin 5 months ago
parent
commit
255693d07f

+ 0 - 0
setup/grub/.exists → install/grub/.exists


+ 0 - 0
setup/kernel/.exists → install/kernel/.exists


+ 3 - 55
setup/linuxnt.sh → install/linuxnt.sh

@@ -35,54 +35,9 @@ dosexit() {
 
 winnt32() {
   read -p "Press enter to begin the installation."
-
-  dnf install --installroot=$LFS --releasever=39 --setopt=install_weak_deps=False --setopt=keepcache=True --nodocs --refresh --assumeyes \
-    @custom-environment \
-    @c-development \
-    @development-libs \
-    @development-tools \
-    @fedora-packager \
-    bc \
-    dbus-daemon \
-    curl \
-    htop \
-    httpd-tools \
-    nano \
-    fuse-sshfs \
-    ntfsprogs \
-    python2* \
-    rsyslog \
-    traceroute \
-    unzip \
-    wget \
-    zip \
-    screen \
-    net-tools \
-    dos2unix \
-    rsync \
-    time \
-    tree \
-    whois \
-    git \
-    curl \
-    wimlib* \
-    -x ccache \
-    -x plymouth* \
-    -x audit \
-    -x abrt* \
-    -x firewall* \
-    -x vim* \
-    -x audit \
-    -x zram*
-
-    systemd-firstboot \
-    --root=$LFS \
-    --locale=C.UTF-8 \
-    --keymap=us \
-    --hostname=linuxnt-$(date +%s).binaryoutcast.com \
-    --setup-machine-id
-
-    read -p "Press enter to continue."
+  source ./resources/fc39/packages.sh
+  touch $LFS/.binocnt
+  read -p "Install either worked or it didn't. Press enter to continue."
 }
 
 ntldr() {
@@ -99,12 +54,6 @@ ntldr() {
   echo -e "\n================================================================================\n"
 }
 
-imagex-capture() {
-  if [ ! -f "/binoc/00-fc39-install.wim" ]; then
-    wimlib-imagex capture $LFS /binoc/00-fc39-install.wim "Fez Enterprising Linux - FC39 Base" --compress=LZMS:100 --unix-data
-  fi
-}
-
 # ====
 
 if [ ! -d "$LFS/dev/pts" ]; then
@@ -113,7 +62,6 @@ if [ ! -d "$LFS/dev/pts" ]; then
   winnt32
   ntldr
   dosexit
-  #imagex-capture
 else
   dosconfig
   ntldr

+ 0 - 0
setup/resources/el9/.exists → install/resources/el9/.exists


+ 38 - 0
install/resources/fc39/packages.sh

@@ -0,0 +1,38 @@
+dnf install --installroot=$LFS --releasever=39 --setopt=install_weak_deps=False --setopt=keepcache=True --nodocs --refresh --assumeyes \
+  @custom-environment \
+  @c-development \
+  @development-libs \
+  @development-tools \
+  @fedora-packager \
+  bc \
+  dbus-daemon \
+  curl \
+  htop \
+  httpd-tools \
+  nano \
+  fuse-sshfs \
+  ntfsprogs \
+  python2* \
+  rsyslog \
+  traceroute \
+  unzip \
+  wget \
+  zip \
+  screen \
+  net-tools \
+  dos2unix \
+  rsync \
+  time \
+  tree \
+  whois \
+  git \
+  curl \
+  wimlib* \
+  -x ccache \
+  -x plymouth* \
+  -x audit \
+  -x abrt* \
+  -x firewall* \
+  -x vim* \
+  -x audit \
+  -x zram*

+ 0 - 0
setup/resources/fc39/.exists → install/resources/fc40/.exists


+ 0 - 0
setup/resources/fc40/.exists