mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
remove dependency
This commit is contained in:
parent
6d4d4c2ad9
commit
22a8df7e98
3 changed files with 3 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
FOUND_VERSION=$(cat mnt/install/etc/os-release | grep VERSION_ID | cut -d= -f2)
|
FOUND_VERSION=$(grep VERSION_ID mnt/install/etc/os-release | cut -d= -f2)
|
||||||
|
|
||||||
if [[ ${FOUND_VERSION} != ${VERSION} ]]
|
if [[ ${FOUND_VERSION} != ${VERSION} ]]
|
||||||
then
|
then
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ for line in action_lines:
|
||||||
vars[var_name]['action'] = True
|
vars[var_name]['action'] = True
|
||||||
else:
|
else:
|
||||||
at_inputs = False
|
at_inputs = False
|
||||||
|
|
||||||
if not at_outputs:
|
if not at_outputs:
|
||||||
if line.strip() == 'outputs:':
|
if line.strip() == 'outputs:':
|
||||||
at_outputs = True
|
at_outputs = True
|
||||||
|
|
@ -103,6 +103,3 @@ for line in readme_lines:
|
||||||
var_default_value = parts[3].strip()
|
var_default_value = parts[3].strip()
|
||||||
var_action = parts[4].strip()
|
var_action = parts[4].strip()
|
||||||
var_makefile = parts[5].strip()
|
var_makefile = parts[5].strip()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -94,7 +94,7 @@ install_os: files/install.iso files/disk.qcow2
|
||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
|
|
||||||
.PHONY: start_vm
|
.PHONY: start_vm
|
||||||
start_vm: install_os
|
start_vm:
|
||||||
mkfifo vm.stdin
|
mkfifo vm.stdin
|
||||||
qemu-system-x86_64 -name "Anaconda" \
|
qemu-system-x86_64 -name "Anaconda" \
|
||||||
-m 4096 -cpu qemu64 -display none -smp 2 \
|
-m 4096 -cpu qemu64 -display none -smp 2 \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue