Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Add better usage instructions #72

Open
JonathanReeve opened this issue Oct 3, 2016 · 19 comments
Open

Add better usage instructions #72

JonathanReeve opened this issue Oct 3, 2016 · 19 comments

Comments

@JonathanReeve
Copy link

I can't figure out how to use these scripts for the life of me. I've run make install and copied over the files (which I think are the same ones in config anyway?), but then I don't know what to do next. I tried running config/antergos/build.sh single but it doesn't seem to work. Could you add usage instructions to the README so that the method of making an ISO using these scripts is more clear?

@karasu
Copy link
Member

karasu commented Oct 4, 2016

It's been a while since I last build an ISO (@lots.0.logs coded a fantastic build server that does this automagically). Have you tried running it inside the antergos folder? Also, instead of single I remember using dual, but I'm not sure if it will make a difference.

If it does not work, feel free to put here the error messages you get.

@TheWyn
Copy link
Member

TheWyn commented Oct 4, 2016

@karasu It was asked about here: https://forum.antergos.com/topic/5103/

I threw a notification for @lots0logs on irc about it but I don't think he saw it.

@lots0logs
Copy link
Member

Actually I did see it, but unfortunately have not had any time to respond 😬

@TheWyn
Copy link
Member

TheWyn commented Oct 4, 2016

@lots0logs 😢

@Zeioth
Copy link

Zeioth commented Nov 3, 2016

If i run

git tag v3

Then I can run

sudo make dist

And it generates "antergos-iso-3.tar.gz". But it's only 15,4Mb. I tried to convert it to ISO but it's not bootable.

Please, add at least some basic knowledge about how to edit the ISO and make it bootable. I'd really like to create a nice XFCE theme like Xubuntu or Manjaro.

@lots0logs
Copy link
Member

Have you checked this page on the Arch wiki? The thing about our ISO script currently it is configured in a way that it expects it is being run from our server. Unless you are comfortable with shell scripting you will have a hard time getting it to work locally. At some point we will rewrite the scripts so that they can be used anywhere. I just dont know when that will be exactly. Sorry! 😬

@Zeioth
Copy link

Zeioth commented Nov 4, 2016

You are right. I've been tweaking a couple of hours. This is as far as I've come. I'll continue tomorrow.
I've had to delete memdisk and plymouth from mkinitcpio-archiso.conf though. I have to fix that part.

@karasu
Copy link
Member

karasu commented Nov 4, 2016

  • The correct command should be sudo ./build.sh build dual
  • Remember to download openfonts (or comment that line in build.sh).
  • You will need to also pull antergos-gfxboot (or use isolinux).

That's all I can recall atm.

EDIT: I've also updated the README file, hope it helps.

@philwyettreb
Copy link

I have what appears to be a successfully built local ISO that I am installing in a vm from.

Further investigation needed as:

  • Build instructions are a little wrong.
  • Generated ISO is 600M smaller than current release one.
  • What is this transifex token crap.

@philwyettreb
Copy link

philwyettreb commented Feb 21, 2017

Quick rundown of what I have so far.

Add / Install dep:

gfxboot

Diff of build.sh:

[philwyett@rebellion antergos]$ diff -u build.sh.orig build.sh
--- build.sh.orig	2017-02-21 06:28:03.439288654 +0000
+++ build.sh	2017-02-21 05:09:30.024548630 +0000
@@ -10,7 +10,7 @@
 install_dir="arch"
 arch=$(uname -m)
 work_dir=work
-out_dir=/out
+out_dir=out
 verbose="-v"
 cmd_args=""
 keep_pacman_packages="y"
@@ -216,8 +216,8 @@
         	#mkdir -p ${work_dir}/root-image/var/run/dbus
         	#mount -o bind /var/run/dbus ${work_dir}/root-image/var/run/dbus
         	# Download opendesktop-fonts
-        	#wget --content-disposition -P ${work_dir}/root-image/arch/pkg 'https://www.archlinux.org/packages/community/any/opendesktop-fonts/download/'
-        	cp /start/opendesktop**.xz ${work_dir}/root-image/arch/pkg
+        	wget --content-disposition -P ${work_dir}/root-image/arch/pkg 'https://www.archlinux.org/packages/community/any/opendesktop-fonts/download/'
+        	#cp /start/opendesktop**.xz ${work_dir}/root-image/arch/pkg
         	touch /var/tmp/one
         }
 
[philwyett@rebellion antergos]$

Create 'out' folder in the 'antergos' folder. sudo not required and no need to be on /.
Create the 'start' symbolic link in 'antergos' folder. sudo not required and no need to be on /.
'cd' into ' antergos-gfxboot'. Build gfxboot isolinux data by executing 'make'. After, copy the generated 'isolinux' folder into the 'antergos' folder.
Run 'sudo ./build.sh build dual'.

Result is a 1.2G ISO.

@karasu
Copy link
Member

karasu commented Feb 21, 2017

@philwyettreb I like changing /out and /start to out and start, no need to be in / (I suppose it's related to the build server).

Have you seen the testing branch? I've changed the build.sh script to work ootb for all versions except of the kde one.

That iso is too small. I think you're removing the xz packages from it. It's ok, but this means that the installation will take more time.

@philwyettreb
Copy link

@karasu Just built the 'testing' branch into an ISO with success.

@Zeioth
Copy link

Zeioth commented Feb 25, 2017

I'll try it again tomorrow. @philwyettreb could you post the steps you followed to build the ISO, please? That would be really awesome.

EDIT: I just built it with success too. The result is a 1.4G ISO.

@Zeioth
Copy link

Zeioth commented Feb 27, 2017

I think I've found an easier way:

  1. Copy this file
  2. Run it

iso-builder.txt

Thank you guys!

@philwyettreb
Copy link

@Zeioth That script just about covers it.

I am currently building iso 'testing' branch with 'colors' gfxboot branch.

screenshot from 2017-03-03 20-27-14

Testing will be over this weekend. The shot above really now needs the addition of a Antergos white logo and name.

@karasu
Copy link
Member

karasu commented Mar 3, 2017

The shot above really now needs the addition of a Antergos white logo and name.

I'm not much of an artist, to be honest. Feel free to change back800x600.jpg and back640x480.jpg and do a pull request in the antergos-gfxboot repository (colors branch) ;)

By the way, nvidia, vesa and dummy are work in progress options. They probably won't work as they are now.

@philwyettreb
Copy link

:-) Yes, I will do a little artwork and see what we can come up with. I see what I want in one of the cnchi screens.

I am building some nvidia machines to test the nvidia portions especially. I will test all options and see what explodes. :-)

@philwyettreb
Copy link

philwyettreb commented Mar 5, 2017

@karasu PR: Antergos/antergos-gfxboot#3 for the background for 'colors' with nice logo added.

c6hityhxmaqtokt

@karasu
Copy link
Member

karasu commented Mar 5, 2017

Antergos/antergos-gfxboot@eed6e58

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants