Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
chakra-iso
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chaoting Liu
chakra-iso
Commits
3003feed
Commit
3003feed
authored
Oct 21, 2018
by
BrLi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install octopi in live session, remove db for overlay
parent
56598dbb
Pipeline
#1526
skipped with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
config/packages.conf
config/packages.conf
+1
-1
config/postinstall_packages.conf
config/postinstall_packages.conf
+1
-1
src/iso.py
src/iso.py
+1
-5
No files found.
config/packages.conf
View file @
3003feed
...
@@ -282,7 +282,7 @@ clementine-qt5
...
@@ -282,7 +282,7 @@ clementine-qt5
imagewriter
imagewriter
octopi
octopi
#octopi-notifier-qt5 will be installed at the end
octopi
-
notifier
ark
ark
spectacle
spectacle
okular
okular
...
...
config/postinstall_packages.conf
View file @
3003feed
...
@@ -3,4 +3,4 @@
...
@@ -3,4 +3,4 @@
# Version: 20151103
# Version: 20151103
#kapudan
#kapudan
octopi
-
notifier
#octopi-notifier
\ No newline at end of file
src/iso.py
View file @
3003feed
...
@@ -79,12 +79,9 @@ class IsoBuilder:
...
@@ -79,12 +79,9 @@ class IsoBuilder:
# download packages
# download packages
package_dir
=
os
.
path
.
join
(
self
.
overlay_packages_dir
,
"opt/chakra/pkgs"
)
package_dir
=
os
.
path
.
join
(
self
.
overlay_packages_dir
,
"opt/chakra/pkgs"
)
package_dir
=
os
.
path
.
abspath
(
package_dir
)
package_dir
=
os
.
path
.
abspath
(
package_dir
)
db_dir
=
os
.
path
.
join
(
self
.
overlay_packages_dir
,
"var/lib/pacman/"
)
db_dir
=
os
.
path
.
abspath
(
db_dir
)
os
.
makedirs
(
package_dir
,
exist_ok
=
True
)
pacman_config
=
pjoin
(
self
.
configdir
,
"pacman.conf"
)
pacman_config
=
pjoin
(
self
.
configdir
,
"pacman.conf"
)
command
=
"pacman -Sywdd --noconfirm --
dbpath {} --
cachedir {} --config {} {}"
command
=
"pacman -Sywdd --noconfirm --cachedir {} --config {} {}"
# pacman -Sw doesn't check dependencies with installed system, but it will fetch required packages altogether
# pacman -Sw doesn't check dependencies with installed system, but it will fetch required packages altogether
with
open
(
os
.
path
.
join
(
self
.
configdir
,
"overlay-packages.conf"
))
as
packages
:
with
open
(
os
.
path
.
join
(
self
.
configdir
,
"overlay-packages.conf"
))
as
packages
:
for
line
in
packages
:
for
line
in
packages
:
...
@@ -93,7 +90,6 @@ class IsoBuilder:
...
@@ -93,7 +90,6 @@ class IsoBuilder:
continue
continue
subprocess
.
check_call
(
subprocess
.
check_call
(
command
.
format
(
command
.
format
(
db_dir
,
package_dir
,
package_dir
,
pacman_config
,
pacman_config
,
line
line
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment