-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chmod should not be required #78
Comments
Hi, as it seems that in future git will be used for installation, is there a chance that git repository can preserve permissions? So when I will use git clone, it will be downloaded together with rwx? |
Git preserves permissions by default. If you change permissions, git recognizes it as changed file. And the permission change should be committed. In short: git does this perfectly. |
Doesnt seems to be correct, according to this nevertheless until installer will be using git, I cant remove it |
Indeed. I was wrong. Git only stores the executable bit. All I needed and used until now. I think requiring users to also install and set up For |
ok, I will leave this issue open, but it will be solved after installation via github will be implemented |
Hi, |
git is available on the full DVD. (#50)
Yes.
Maybe if it's deterministic. But that's probably a unrealistic goal. |
Gentoo team will not add it into minimal cd, trying now push it into admin cd |
What about to use gentoo minimal iso and just add few more applications by script like this (https://forums.gentoo.org/viewtopic-t-580369-start-0.html). Script will be available for anyone and even build log can be included inside iso image so it could be reproduced...? |
Will the iso be deterministic? I mean, can everyone who follows the instructions, i.e. 1) download original gentoo iso 2) run script to add the file 3) show sha512 hash of newly created iso. Will it match for everyone doing these steps? |
After thinking more about this... I think the overall idea... If I understood this right... "Because the original gentoo minimal dvd does not come with git, to install from source, you either have to use the huge binary blob (the custom iso) or you have to create your own first. Then boot from this dvd, so you can use git to download the rest of the source code so you can finally install securix." Sounds rather cumbersome. Alternative, more unified approaches..... a) gentoo admin dvd, upstream, git If the admin dvd is minimal enough and they add git to it, problem would be solved? b) tar.xz for gentoo minimal dvd users
c) securix installer dvd
By doing this in a modular fashion, the feature "Bootable Raw / Virtual Machine Image Creation" #98 could still be added later. For this purpose, I would advice not touching installer.sh / chroot.sh a lot and to have a separate dvd creation utility. Not sure how urgently you want (c) your own DVD. Obviously method (a) and (b) require far less work. |
Git client will be added into Gentoo admincd, so Im fine with that, it might just take few more weeks |
https://github.com/martincmelik/Securix-Linux/blob/master/securix-install/chroot.sh
I think these are unnecessary. When you set the desired permissions in the source tarball and/or git already, then copy those files, permissions are preserved. That would help simplify the code some more.
The text was updated successfully, but these errors were encountered: