Skip to content
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

New PR for astroarch-onboarding #3

Open
wants to merge 31 commits into
base: calamares
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
750a961
Using QT6 and installing packages in CMakelists.txt. Configuring sett…
sc74 Mar 17, 2024
d40c4a1
slide activation
sc74 Mar 17, 2024
4258ab4
Add shellprocess-final.conf file in shellprocess folder to run update…
sc74 Mar 17, 2024
b1c3a76
Add folder src/.astroarch for the update.zsh script to be placed in /…
sc74 Mar 17, 2024
f9b28f4
adding path to netinstall-software.yaml file
sc74 Mar 17, 2024
5bbde81
Deletion of plasma file for locales
sc74 Mar 18, 2024
2648843
Revert "Deletion of plasma file for locales"
sc74 Mar 18, 2024
59fa1ac
Deletion of plasma file for locales
sc74 Mar 18, 2024
5116012
Calamares_AstroArch full version, install system for users. To be tes…
sc74 Mar 30, 2024
4f4b32a
Add gps-ublox and minor changes
sc74 Apr 14, 2024
12d583a
Add informations panel for users
sc74 Apr 28, 2024
8d193b3
Add power supplies panel
sc74 Apr 28, 2024
2b07037
add pictures branding
sc74 Jun 6, 2024
fa29752
update shellprocess-final
sc74 Sep 25, 2024
b7d56bc
reduction of files and configurations
sc74 Sep 26, 2024
ae139c4
reduction of files and configurations-2
sc74 Sep 26, 2024
a9f7b2d
update file for build make.sh
sc74 Sep 26, 2024
24bb1e7
update file netinstall_software.yaml
sc74 Sep 26, 2024
186bb5d
update file run-astroarch-onboarding.sh
sc74 Sep 27, 2024
d2bd1ff
update before installing package
sc74 Sep 27, 2024
8f1e410
Update for startup and remove files
sc74 Sep 27, 2024
61dc9d0
Set/Unset privileges and remove autostart file
sc74 Sep 27, 2024
b9d04db
Start sudo AstroArch-onboarding.desktop
sc74 Sep 27, 2024
3b9649d
Allow pkexec with no password for calamares
sc74 Sep 27, 2024
eb49cc6
update astroarch-onboarding.desktop
sc74 Sep 27, 2024
83491c6
update astroarch-onboarding.desktop
sc74 Sep 27, 2024
a4b1b89
update files run-astroarch-onboarding.sh shellprocess-final.conf
sc74 Sep 29, 2024
625c976
New fork with all changes following an update issue
sc74 Oct 4, 2024
b1cf7ee
Delete modules
sc74 Oct 4, 2024
0899084
update images
sc74 Oct 26, 2024
952c7b8
add url in readme.qml
sc74 Oct 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update for startup and remove files
  • Loading branch information
sc74 committed Sep 27, 2024
commit 8f1e410225d5102842fb31f7fb5bf128d12d1809
26 changes: 17 additions & 9 deletions src/.astroarch/configs/calamares_astroarch/AstroArch-onboarding.desktop
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
[Desktop Entry]
Type=Application
Version=1.0
Name=AstroArch onboarding
GenericName=AstroArch onboarding
Keywords=calamares;system;configurer;
TryExec=calamares
Exec=sh -c "pkexec calamares"
Categories=Qt;System;
Comment=AstroArch - configure system
Comment=AstroArch - configure system
Exec=/usr/lib/kf6/kdesu calamares
GenericName=AstroArch onboarding
GenericName=AstroArch onboarding
Icon=calamares
Terminal=false
Keywords=calamares;system;configurer;
MimeType=
Name=AstroArch onboarding
Name=AstroArch onboarding
Path=
StartupNotify=true
Categories=Qt;System;
Terminal=true
TerminalOptions=\s--noclose
TryExec=calamares
Type=Application
Version=1.0
X-AppStream-Ignore=true
X-KDE-SubstituteUID=false
X-KDE-Username=
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
#!/bin/sh

# Add folders to .astroarch
cp -R "/usr/share/calamares/.astroarch/configs/calamares_astroarch" "/home/astronaut/.astroarch/configs/"
cp -R "/usr/share/calamares/.astroarch/plugins/power_max_current" "/home/astronaut/.astroarch/plugins/"

# Link folders to root folder
rm -f /root/.oh-my-zsh
ln -s /home/astronaut/.oh-my-zsh /root
rm -f /root/.astroarch
ln -s /home/astronaut/.astroarch /root
rm -f /root/.zshrc
ln -s /home/astronaut/.astroarch/configs/.zshrc /root/.zshrc
chsh -s /usr/bin/zsh root
calamares

# link to folder autostart
ln -s /usr/share/calamares/.astroarch/configs/calamares_astroarch/AstroArch-onboarding.desktop /home/astronaut/.config/autostart/AstroArch-onboarding.desktop
6 changes: 4 additions & 2 deletions src/modules/shellprocess/shellprocess-final.conf
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ dontChroot: true
# ignored; the slowloris command has a different timeout from the
# other commands in the list):
script:
- "-rm -f /home/astronaut/.config/plasma-localerc"
timeout: 300
- "-/bin/rm -f /home/astronaut/.config/plasma-localerc"
- "-/bin/rm -f /home/astronaut/.config/autostart/AstroArch-onboarding.desktop"

# timeout: 300

# You can change the description of the job (as it is displayed in the
# progress bar during installation) by defining an *i18n* key, which
Expand Down