Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adélie Linux
gcompat
Commits
87be1dff
Verified
Commit
87be1dff
authored
Apr 29, 2019
by
A. Wilcox
🦊
Browse files
travis: Fixes
parent
8ff9d4c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
87be1dff
...
...
@@ -5,7 +5,7 @@ dist: xenial
sudo
:
required
language
:
minimal
install
:
-
sudo
sh
.travis/install
-
sudo .travis/install
script
:
|
. .travis/config
sudo chroot $NEWROOT su -l $USER sh -c "cd $CLONE_DIR; make LINKER_PATH=/lib/ld-musl-x86_64.so.1 LOADER_NAME=ld-linux-x86-64.so.2"
...
...
.travis/install
100644 → 100755
View file @
87be1dff
#!/bin/sh
#!/bin/sh
-e
.
$(
dirname
$0
)
/config
curl
-O
https://
mirrormaster
.adelielinux.org/adelie/apk-tools-static/x86_64.apk
curl
-O
https://
distfiles
.adelielinux.org/adelie/apk-tools-static/x86_64.apk
tar
-xzOf
x86_64.apk sbin/apk.static
>
/tmp/apk.static
mkdir
-p
"
$NEWROOT
"
/etc/apk
/tmp/apk.static
-X
"https://mirrormaster.adelielinux.org/adelie/current/system"
--root
"
$NEWROOT
"
--initdb
--no-progress
add adelie-core bash-binsh musl-dev gcc binutils
push
d
"
$NEWROOT
"
c
d
"
$NEWROOT
"
mount
-t
proc none proc
mount
-t
sysfs none sys
...
...
@@ -17,6 +17,4 @@ mount -R /run run
ln
-s
/run/shm dev/shm
mkdir
./
$CLONE_DIR
mount
-B
$CLONE_DIR
./
$CLONE_DIR
useradd
-m
-c
"Travis User"
-s
/bin/sh
-G
wheel
-u
$SUDO_UID
$SUDO_USER
popd
chroot
"
$NEWROOT
"
useradd
-m
-c
"Travis User"
-s
/bin/sh
-G
wheel
-u
$SUDO_UID
$SUDO_USER
Write
Preview
Supports
Markdown
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