Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmaports
Commits
e9689231
Unverified
Commit
e9689231
authored
4 years ago
by
Bart Ribbers
Browse files
Options
Downloads
Patches
Plain Diff
temp/calamares: drop, upstream is available again (MR 1942)
parent
d9949930
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#201296
passed
4 years ago
Stage: lint
Stage: build
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
temp/calamares/APKBUILD
+0
-179
0 additions, 179 deletions
temp/calamares/APKBUILD
temp/calamares/calamares-mod-unpackfs.post-install
+0
-5
0 additions, 5 deletions
temp/calamares/calamares-mod-unpackfs.post-install
temp/calamares/modules-load.conf
+0
-1
0 additions, 1 deletion
temp/calamares/modules-load.conf
with
0 additions
and
185 deletions
temp/calamares/APKBUILD
deleted
100644 → 0
+
0
−
179
View file @
d9949930
# Forked from Alpine, builders are stuck and it needs a rebuild
pkgname
=
calamares
pkgver
=
3.2.35.1
pkgrel
=
1
# ppc64le, s390x, mips, mips64 blocked by qt5-qtwebengine
# armhf blocked by qt5-qtdeclarative
arch
=
"aarch64 armv7"
url
=
"https://calamares.io/"
pkgdesc
=
"Distribution-independent installer framework"
license
=
"GPL-3.0-or-later AND LGPL-2.1-only"
depends
=
"
ckbcomp
musl-locales
os-prober
python3
"
depends_dev
=
"
extra-cmake-modules
kcoreaddons-dev
qt5-qttools-dev
yaml-cpp-dev
"
makedepends
=
"
$depends_dev
extra-cmake-modules
kconfig-dev
kcrash-dev
ki18n-dev
kpackage-dev
kparts-dev
kpmcore-dev
kservice-dev
kwidgetsaddons-dev
libatasmart-dev
libpwquality-dev
plasma-framework-dev
polkit-qt-1-dev
qt5-qtbase-dev
qt5-qtdeclarative-dev
qt5-qtsvg-dev
qt5-qtwebengine-dev
"
# required for several modules
makedepends
=
"
$makedepends
boost-dev
boost-python3
parted-dev
python3-dev
"
checkdepends
=
"xvfb-run tzdata"
source
=
"https://github.com/calamares/calamares/archive/v
$pkgver
/calamares-
$pkgver
.tar.gz
modules-load.conf
"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc
$pkgname
-lang"
install
=
"calamares-mod-unpackfs.post-install"
options
=
"!check"
# failing with qemu
# Modules to build:
# https://github.com/calamares/calamares/tree/master/src/modules
_modules
=
"
bootloader
displaymanager
finished
fsresizer
fstab
grubcfg
hostinfo
hwclock
interactiveterminal
keyboard
keyboardq
locale
localeq
luksbootkeyfile
luksopenswaphookcfg
machineid
mkinitfs
mount
netinstall
networkcfg
notesqml
oemid
packagechooser
packages
partition
plasmalnf
plymouthcfg
preservefiles
rawfs
removeuser
services-openrc
shellprocess
summary
umount
unpackfs
users
webview
welcome
welcomeq
"
for
i
in
$_modules
;
do
subpackages
=
"
$pkgname
-mod-
$i
:_module
$subpackages
"
done
# Check if $1 is in $_modules
is_module_enabled
()
{
local
i
for
i
in
$_modules
;
do
[
"
$i
"
=
"
$1
"
]
&&
return
0
done
return
1
}
prepare
()
{
default_prepare
local
i
cd
"
$builddir
/src/modules"
# Fill $_skip_modules, list disabled modules
msg
"Disabled modules:"
for
i
in
*
;
do
if
!
[
-d
"
$i
"
]
||
is_module_enabled
"
$i
"
;
then
continue
fi
_skip_modules
=
"
$_skip_modules
$i
"
echo
" -
$i
"
done
# List enabled modules
msg
"Enabled modules:"
for
i
in
$_modules
;
do
echo
" -
$i
"
done
}
build
()
{
cmake
-B
build
\
-DCMAKE_BUILD_TYPE
=
None
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_INSTALL_LIBDIR
=
lib
\
-DINSTALL_CONFIG
=
ON
\
-DSKIP_MODULES
=
"
$_skip_modules
"
cmake
--build
build
}
check
()
{
cd
build
# libcalamaresnetworktest requires network access
CTEST_OUTPUT_ON_FAILURE
=
TRUE xvfb-run ctest
-E
"libcalamaresnetworktest"
}
_module
()
{
local
module
=
${
subpkgname
##calamares-mod-
}
local
path
=
"usr/lib/calamares/modules"
mkdir
-p
"
$subpkgdir
/
$path
"
mv
"
$pkgdir
/
$path
/
$module
"
"
$subpkgdir
/
$path
/
$module
"
# Module-specific dependencies
case
"
$module
"
in
unpackfs
)
depends
=
"
$depends
rsync"
install
-Dm644
"
$srcdir
"
/modules-load.conf
\
"
$subpkgdir
"
/usr/lib/modules-load.d/calamares.conf
;;
mkinitfs
)
depends
=
"
$depends
mkinitfs"
;;
locale
)
depends
=
"
$depends
tzdata"
;;
esac
}
package
()
{
DESTDIR
=
"
$pkgdir
"
cmake
--build
build
--target
install
}
sha512sums
=
"5c0c19fdfaeea85f467a6b59a3e088ad5709940a25521a28bbf8a9bb69a2e87d44f40a4500688c383036c48d4c4d70176bb170dcc39897fff3e09be3117de9ff calamares-3.2.35.1.tar.gz
c56ad3b92901abdb41cffaeceeff9a6c8dae3882aacf9a4b654a8898f1e26eeadda3ac3ac799b127b176cc31d397652f27a07bcdfbf7f4ede3c6826d08f7bd7d modules-load.conf"
This diff is collapsed.
Click to expand it.
temp/calamares/calamares-mod-unpackfs.post-install
deleted
100644 → 0
+
0
−
5
View file @
d9949930
#!/bin/sh
modprobe squashfs
exit
0
This diff is collapsed.
Click to expand it.
temp/calamares/modules-load.conf
deleted
100644 → 0
+
0
−
1
View file @
d9949930
squashfs
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment