Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Chakra
Akabei
Akabei frontend
Commits
df4af561
Commit
df4af561
authored
Jan 06, 2016
by
AlmAck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix atf.sh script the akabei.conf file with the latest repositories changes
parent
84fddb2d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
17 deletions
+14
-17
scripts/akabei-test-chroot/akabei.conf
scripts/akabei-test-chroot/akabei.conf
+2
-5
scripts/akabei-test-chroot/atf.sh
scripts/akabei-test-chroot/atf.sh
+12
-12
No files found.
scripts/akabei-test-chroot/akabei.conf
View file @
df4af561
...
...
@@ -52,14 +52,11 @@ SyncFirst = akabei
[
core
]
Server
=
http
://
rsync
.
chakraos
.
org
/
packages
/
core
/
x86_64
[
platform
]
Server
=
http
://
rsync
.
chakraos
.
org
/
packages
/
platform
/
x86_64
[
desktop
]
Server
=
http
://
rsync
.
chakraos
.
org
/
packages
/
desktop
/
x86_64
#[
apps
]
#Server = http://rsync.chakraos.org/packages/
apps
/x86_64
#[
gtk
]
#Server = http://rsync.chakraos.org/packages/
gtk
/x86_64
#[lib32]
#Server = http://rsync.chakraos.org/packages/lib32/x86_64
...
...
scripts/akabei-test-chroot/atf.sh
View file @
df4af561
...
...
@@ -6,7 +6,7 @@
# GPL
# version
VER
=
"0.
2
"
VER
=
"0.
3
"
# local root name (safe to change)
BASENAME
=
"buildroot"
...
...
@@ -148,7 +148,7 @@ create_pacmanconf() {
echo
>>
"
${
BASEPATH
}
/
${
PM_CONF
}
"
local
PACREPO
for
PACREPO
in
testing core
platform
desktop
;
do
for
PACREPO
in
testing core desktop
;
do
echo
"[
${
PACREPO
}
]"
>>
${
BASENAME
}
/
${
PM_CONF
}
echo
"Server=
${
PKGSOURCE
}
/
${
PACREPO
}
/
${
CARCH
}
/"
>>
${
BASENAME
}
/
${
PM_CONF
}
echo
>>
${
BASENAME
}
/
${
PM_CONF
}
...
...
@@ -432,7 +432,7 @@ create_databasedir() {
prepare_akabei_conf
()
{
title
"Preparing akabei.conf ..."
wget
-O
akabei.conf http
s
://git
orious.org/chakra/akabei/raw/master:
scripts/akabei-test-chroot/akabei.conf
wget
-O
akabei.conf http://git
.chakraos.org/akabei.git/blob_plain/HEAD:/
scripts/akabei-test-chroot/akabei.conf
sed
-i
"s|YOURPATH|
$(
pwd
)
|g"
./akabei.conf
sudo mv
./akabei.conf /etc/akabei.conf
}
...
...
@@ -440,22 +440,22 @@ prepare_akabei_conf() {
import_signatures
()
{
title
"Importing Chakra signatures to akabei-keyring ..."
newline
sudo mkdir
./buildroot
/_chroots/master-x64/etc/akabei.d/
sudo mkdir
./buildroot
/_chroots/master-x64/etc/akabei.d/keyring/
sudo mkdir
$BASEPATH
/_chroots/master-x64/etc/akabei.d/
sudo mkdir
$BASEPATH
/_chroots/master-x64/etc/akabei.d/keyring/
sudo chmod
go-r-x buildroot/_chroots/master-x64/etc/akabei.d/keyring/
sudo
gpg
--homedir
./buildroot
/_chroots/master-x64/etc/akabei.d/keyring/
--trust-model
always
--import
/usr/share/chakra/signatures/
*
.asc
sudo
gpg
--homedir
$BASEPATH
/_chroots/master-x64/etc/akabei.d/keyring/
--trust-model
always
--import
/usr/share/chakra/signatures/
*
.asc
for
key
in
3DB6614F EBC85A93 26C56140 BF2412F9 02238B03 B6611E8A C51B9BC2 D417608D F906E3F4 4CA5A1FF 82AC496A
;
do
sudo
gpg
--homedir
./buildroot
/_chroots/master-x64/etc/akabei.d/keyring
--recv-keys
--keyserver
keys.gnupg.net
$key
printf
'trust\n5\ny\quit\n'
|
sudo
gpg
--homedir
../buildroot
/_chroots/master-x64/etc/akabei.d/keyring
--no-permission-warning
--command-fd
0
--edit-key
$key
sudo
gpg
--homedir
$BASEPATH
/_chroots/master-x64/etc/akabei.d/keyring
--recv-keys
--keyserver
keys.gnupg.net
$key
printf
'trust\n5\ny\quit\n'
|
sudo
gpg
--homedir
$BASEPATH
/_chroots/master-x64/etc/akabei.d/keyring
--no-permission-warning
--command-fd
0
--edit-key
$key
done
sudo
gpg
--homedir
./buildroot
/_chroots/master-x64/etc/akabei.d/keyring
--list-keys
sudo
gpg
--homedir
$BASEPATH
/_chroots/master-x64/etc/akabei.d/keyring
--list-keys
# show the current imported keys
# set one more permission to make polkit work correctly
sudo chown
root:root
./buildroot
/_chroots/master-x64/etc/akabei.d/
sudo chown
root:root
$BASEPATH
/_chroots/master-x64/etc/akabei.d/
}
# all done! :) print some information
...
...
@@ -468,8 +468,8 @@ all_done() {
newline
msg
"akabei sync"
newline
msg
"For f
o
rther information follow the wiki:"
msg
"http://chakraos.org/wiki/index.php?title=Test_Akabei"
msg
"For f
u
rther information follow the wiki:"
msg
"http
s
://chakraos.org/wiki/index.php?title=Test_Akabei"
newline
}
...
...
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