Compare commits
26 Commits
Author | SHA1 | Date | |
---|---|---|---|
f5ddcd79b3 | |||
b6699af5fa | |||
2b3bd945cd | |||
|
707589ec6a | ||
60d904b9a1 | |||
|
700011a987 | ||
|
bf3ac4ab73 | ||
|
1768b196b1 | ||
9ceb16a596 | |||
|
9446951214 | ||
|
85503e3d55 | ||
|
e36800779d | ||
|
f84535f74f | ||
|
431091d933 | ||
|
ab938143ef | ||
|
5de593710b | ||
|
dda75fe87d | ||
cdc3fab26a | |||
bb7ee5961b | |||
|
dc4011cb6e | ||
2c8419cb33 | |||
|
c4c3c35a1f | ||
|
1096ff4baf | ||
|
d779a8d29c | ||
|
c287e4c791 | ||
|
094aff1d4c |
1
.github/build-canary-v3
vendored
Normal file
1
.github/build-canary-v3
vendored
Normal file
@ -0,0 +1 @@
|
||||
1
|
1
.github/build-nest-v3
vendored
Normal file
1
.github/build-nest-v3
vendored
Normal file
@ -0,0 +1 @@
|
||||
1
|
1
.github/release-canary-v3
vendored
Normal file
1
.github/release-canary-v3
vendored
Normal file
@ -0,0 +1 @@
|
||||
1
|
1
.github/release-nest-v3
vendored
Normal file
1
.github/release-nest-v3
vendored
Normal file
@ -0,0 +1 @@
|
||||
2
|
37
.github/workflows/build-canaryv3.yml
vendored
Normal file
37
.github/workflows/build-canaryv3.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
name: PikaOS Package Build Only (Canary) (amd64-v3)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/build-canary-v3'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
37
.github/workflows/build-nestv3.yml
vendored
Normal file
37
.github/workflows/build-nestv3.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
name: PikaOS Package Build Only (amd64-v3)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/build-nest-v3'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
40
.github/workflows/release-canaryv3.yml
vendored
Normal file
40
.github/workflows/release-canaryv3.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
name: PikaOS Package Build & Release (Canary) (amd64-v3)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/release-canary-v3'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
||||
|
||||
- name: Release Package
|
||||
run: ./release.sh
|
40
.github/workflows/release-nestv3.yml
vendored
Normal file
40
.github/workflows/release-nestv3.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
name: PikaOS Package Build & Release (amd64-v3)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/release-nest-v3'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
||||
|
||||
- name: Release Package
|
||||
run: ./release.sh
|
46
.github/workflows/release.yml
vendored
46
.github/workflows/release.yml
vendored
@ -1,46 +0,0 @@
|
||||
name: PikaOS Package Release
|
||||
|
||||
on:
|
||||
workflow_dispatch
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: self-hosted
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pika-package-container:latest
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Import GPG key
|
||||
id: import_gpg
|
||||
uses: crazy-max/ghaction-import-gpg@v5
|
||||
with:
|
||||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
passphrase: ${{ secrets.PASSPHRASE }}
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
||||
|
||||
- name: Release Package
|
||||
run: ./release.sh
|
||||
|
||||
- name: Purge cache
|
||||
uses: strrife/cloudflare-chunked-purge-action@master
|
||||
env:
|
||||
# Zone is required by both authentication methods
|
||||
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
|
||||
|
||||
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
|
||||
PURGE_URLS: ${{ vars.PURGE_URLS }}
|
2142
Cargo.lock
generated
Normal file
2142
Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -16,3 +16,12 @@ users = "0.11.0"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
reqwest = { version = "0.11", features = ["blocking"] }
|
||||
|
||||
[profile.release]
|
||||
lto = "fat"
|
||||
debug = false
|
||||
strip = true
|
||||
opt-level = 3
|
||||
panic = "abort"
|
||||
codegen-units = 1
|
||||
|
||||
|
10
data/check-pkg.sh
Executable file
10
data/check-pkg.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#! /usr/bin/bash
|
||||
export LANG=C
|
||||
|
||||
package=$1
|
||||
if dpkg-query -W -f='${Status}' $package 2>/dev/null | grep -q "install ok installed"
|
||||
then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
@ -37,7 +37,7 @@ then
|
||||
pkg="$1"
|
||||
fi
|
||||
|
||||
if dpkg -s "$1"
|
||||
if /usr/lib/pika/drivers/check-pkg.sh "$1"
|
||||
then
|
||||
if echo $pkg | grep -i mesa
|
||||
then
|
||||
@ -94,7 +94,7 @@ then
|
||||
pkg="$1"
|
||||
fi
|
||||
|
||||
if dpkg -s "$1"
|
||||
if /usr/lib/pika/drivers/check-pkg.sh "$1"
|
||||
then
|
||||
if echo $pkg | grep -i mesa
|
||||
then
|
||||
@ -105,7 +105,7 @@ then
|
||||
else
|
||||
if echo $pkg | grep -i nvidia
|
||||
then
|
||||
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY bash -c "DEBIAN_FRONTEND=noninteractive apt update -y -o Dpkg::Options::='--force-confnew' && DEBIAN_FRONTEND=noninteractive apt purge nvidia-driver-* -y -o Dpkg::Options::='--force-confnew' && DEBIAN_FRONTEND=noninteractive apt install $pkg -y -o Dpkg::Options::='--force-confnew' && sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::='--force-confnew'"
|
||||
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY bash -c "DEBIAN_FRONTEND=noninteractive apt update -y -o Dpkg::Options::='--force-confnew' && DEBIAN_FRONTEND=noninteractive apt purge nvidia-driver-* nvidia-open-driver-* -y -o Dpkg::Options::='--force-confnew' && DEBIAN_FRONTEND=noninteractive apt install $pkg -y -o Dpkg::Options::='--force-confnew' && sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::='--force-confnew'"
|
||||
else
|
||||
if echo $pkg | grep -i mesa-hybrid
|
||||
then
|
||||
|
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -1,6 +1,6 @@
|
||||
pika-drivers (1.0.0-100pika8+goodbye3) pikauwu; urgency=medium
|
||||
pika-drivers (1.0.0-101pika2) pika; urgency=medium
|
||||
|
||||
* Nvidia 550 no longer experimental
|
||||
* Update for PikaOS 4
|
||||
|
||||
-- Pika <root@pika.com> Wed, 11 Jan 2023 11:41:38 +0000
|
||||
|
||||
|
3
debian/control
vendored
3
debian/control
vendored
@ -2,7 +2,8 @@ Source: pika-drivers
|
||||
Section: admin
|
||||
Priority: optional
|
||||
Maintainer: Pika <root@pika.com>
|
||||
Build-Depends: debhelper (>= 9), build-essential,
|
||||
Build-Depends: debhelper (>= 9),
|
||||
build-essential,
|
||||
debhelper,
|
||||
python3,
|
||||
meson,
|
||||
|
9
debian/rules
vendored
9
debian/rules
vendored
@ -1,7 +1,16 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch)
|
||||
export PATH := $(PATH):/root/.cargo/bin
|
||||
|
||||
override_dh_prep:
|
||||
# amd64 build prep
|
||||
ifeq (amd64-v3,$(PIKA_BUILD_ARCH))
|
||||
# Does not support LTO due to dylib-lto
|
||||
#export RUSTFLAGS = -C target-cpu=x86-64-v3 -C lto=fat -C embed-bitcode -C codegen-units=1 -C opt-level=3 -Zdylib-lto
|
||||
export RUSTFLAGS = -C target-cpu=x86-64-v3 -C opt-level=3
|
||||
endif
|
||||
|
||||
%:
|
||||
dh ${@}
|
||||
|
||||
|
2
debian/source/format
vendored
2
debian/source/format
vendored
@ -1 +1 @@
|
||||
3.0 (native)
|
||||
3.0 (quilt)
|
||||
|
112
driver-db.json
112
driver-db.json
@ -98,54 +98,6 @@
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"driver": "nvidia-driver-525",
|
||||
"icon": "nvidia",
|
||||
"experimental": false,
|
||||
"removable": true,
|
||||
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"driver": "nvidia-driver-525-open",
|
||||
"icon": "nvidia",
|
||||
"experimental": true,
|
||||
"removable": true,
|
||||
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"driver": "nvidia-driver-535",
|
||||
"icon": "nvidia",
|
||||
"experimental": false,
|
||||
"removable": true,
|
||||
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"driver": "nvidia-driver-535-open",
|
||||
"icon": "nvidia",
|
||||
"experimental": true,
|
||||
"removable": true,
|
||||
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"driver": "nvidia-driver-545",
|
||||
"icon": "nvidia",
|
||||
"experimental": false,
|
||||
"removable": true,
|
||||
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"driver": "nvidia-driver-545-open",
|
||||
"icon": "nvidia",
|
||||
"experimental": true,
|
||||
"removable": true,
|
||||
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"driver": "nvidia-driver-550",
|
||||
"icon": "nvidia",
|
||||
"experimental": false,
|
||||
@ -153,31 +105,7 @@
|
||||
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"driver": "nvidia-driver-550-open",
|
||||
"icon": "nvidia",
|
||||
"experimental": true,
|
||||
"removable": true,
|
||||
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
|
||||
},
|
||||
{
|
||||
"id": 20,
|
||||
"driver": "xone-dkms",
|
||||
"icon": "input-gaming",
|
||||
"experimental": false,
|
||||
"removable": true,
|
||||
"detection": "lsusb | grep -i xbox"
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"driver": "intel-gpu-compute",
|
||||
"icon": "intel",
|
||||
"experimental": false,
|
||||
"removable": true,
|
||||
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i intel"
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"id": 13,
|
||||
"driver": "nvidia-driver-555",
|
||||
"icon": "nvidia",
|
||||
"experimental": false,
|
||||
@ -185,12 +113,44 @@
|
||||
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"driver": "nvidia-driver-555-open",
|
||||
"id": 18,
|
||||
"driver": "nvidia-open-driver-555",
|
||||
"icon": "nvidia",
|
||||
"experimental": true,
|
||||
"removable": true,
|
||||
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"driver": "xone-dkms",
|
||||
"icon": "input-gaming",
|
||||
"experimental": false,
|
||||
"removable": true,
|
||||
"detection": "lsusb | grep -i xbox"
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"driver": "intel-gpu-compute",
|
||||
"icon": "intel",
|
||||
"experimental": false,
|
||||
"removable": true,
|
||||
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i intel"
|
||||
},
|
||||
{
|
||||
"id": 20,
|
||||
"driver": "nvidia-driver-565",
|
||||
"icon": "nvidia",
|
||||
"experimental": false,
|
||||
"removable": true,
|
||||
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"driver": "nvidia-open-driver-565",
|
||||
"icon": "nvidia",
|
||||
"experimental": false,
|
||||
"removable": true,
|
||||
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -17,5 +17,5 @@
|
||||
"driver_install_dialog_success_false": "Der Treiber konnte nicht installiert werden!",
|
||||
"window_no_drivers_box_text_title": "Keine Geräte erfordern spezielle Treiber",
|
||||
"window_no_drivers_box_text_description": "Für keine auf Ihrem System installierten Geräte existieren spezielle Treiber in unserer Datenbank.",
|
||||
"driver_status_icon_tooltip_text": ""
|
||||
"driver_status_icon_tooltip_text": "Dieser Treiber ist installiert!"
|
||||
}
|
||||
|
21
locales/es_ES.json
Normal file
21
locales/es_ES.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"app_name": "Bienvenida de PikaOS",
|
||||
"app_dev": "Cosmo",
|
||||
"loading_label_label": "Descargando la base de datos de los controladores...",
|
||||
"loading_no_internet_box_text_title": "¡Error de red!",
|
||||
"loading_no_internet_box_text_description": "Se requiere una conexión a Internet para descargar la base de datos del controlador.",
|
||||
"device_label_label_prefix": "Dispositivo: ",
|
||||
"driver_install_button_label": "Instalar",
|
||||
"driver_install_button_tooltip_text": "Instale el paquete de controladores.",
|
||||
"driver_remove_button_label": "Desinstalar",
|
||||
"driver_remove_button_tooltip_text": "Desinstalar el paquete de los controladores.",
|
||||
"driver_expander_row_title_suffix": "(ADVERTENCIA: ¡ESTE CONTROLADOR ES EXPERIMENTAL, ÚSELO BAJO SU PROPIA RESPONSABILIDAD!)",
|
||||
"driver_install_dialog_heading": "Registro de instalación del controlador",
|
||||
"driver_install_dialog_ok_label": "Reiniciar más tarde",
|
||||
"driver_install_dialog_reboot_label": "Reiniciar ahora",
|
||||
"driver_install_dialog_success_true": "¡El controlador se instaló correctamente!",
|
||||
"driver_install_dialog_success_false": "¡No se pudo instalar el controlador!",
|
||||
"window_no_drivers_box_text_title": "Ningún dispositivo requiere controladores especiales",
|
||||
"window_no_drivers_box_text_description": "Ningún dispositivo instalado en su sistema requiere un controlador especial de nuestra base de datos.",
|
||||
"driver_status_icon_tooltip_text": "¡Éste controlador está instalado!"
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
{
|
||||
"app_name": "Gestionnaire de pilotes PikaOS",
|
||||
"app_name": "PikaOS configuration initiale",
|
||||
"app_dev": "Cosmo",
|
||||
"loading_label_label": "Téléchargement de la base de données des pilotes...",
|
||||
"loading_no_internet_box_text_title": "Erreur de réseau!",
|
||||
"loading_no_internet_box_text_description": "Une connexion Internet est nécessaire pour télécharger la base de données des pilotes.",
|
||||
"device_label_label_prefix": "Périphérique:",
|
||||
"device_label_label_prefix": "Périphérique: ",
|
||||
"driver_install_button_label": "Installer",
|
||||
"driver_install_button_tooltip_text": "Installer le pilote.",
|
||||
"driver_install_button_tooltip_text": "Installer le package du pilote.",
|
||||
"driver_remove_button_label": "Désinstaller",
|
||||
"driver_remove_button_tooltip_text": "Désinstaller le pilote.",
|
||||
"driver_remove_button_tooltip_text": "Désinstaller le package du pilote.",
|
||||
"driver_expander_row_title_suffix": "(AVERTISSEMENT : CE PILOTE EST EXPÉRIMENTAL, À UTILISER À VOS RISQUES ET PÉRILS)",
|
||||
"driver_install_dialog_heading": "Journal d'installation des pilotes",
|
||||
"driver_install_dialog_ok_label": "Redémarrer plus tard",
|
||||
@ -16,6 +16,6 @@
|
||||
"driver_install_dialog_success_true": "Le pilote a été Installé avec succès !",
|
||||
"driver_install_dialog_success_false": "Le pilote n'a pas été installé!",
|
||||
"window_no_drivers_box_text_title": "Aucun périphérique ne nécessite de pilote spécial",
|
||||
"window_no_drivers_box_text_description": "Aucun périphérique de votre système ne dispose d'un pilote spécial présent dans notre base de données.",
|
||||
"driver_status_icon_tooltip_text": ""
|
||||
"window_no_drivers_box_text_description": "Aucun périphérique installé sur votre système ne dispose d'un pilote spécial présent dans notre base de données.",
|
||||
"driver_status_icon_tooltip_text": "Le pilote est installé !"
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"app_name": "Första inställningarna",
|
||||
"app_name": "PikaOS Välkommen",
|
||||
"app_dev": "Cosmo",
|
||||
"loading_label_label": "Laddar ner databas för drivrutiner...",
|
||||
"loading_no_internet_box_text_title": "Nätverksfel!",
|
||||
@ -17,5 +17,5 @@
|
||||
"driver_install_dialog_success_false": "Drivrutinen har inte installerats korrekt!",
|
||||
"window_no_drivers_box_text_title": "Inga Enheter kräver några speciella drivrutiner",
|
||||
"window_no_drivers_box_text_description": "Inga Enheter installerade på ditt system behöver en drivrutin från vår databas.",
|
||||
"driver_status_icon_tooltip_text": ""
|
||||
"driver_status_icon_tooltip_text": "Den här Drivrutinen är installerad!"
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"app_name": "PikaOS İlk Kurulum",
|
||||
"app_name": "PikaOS Sürücü Yöneticisi",
|
||||
"app_dev": "Cosmo",
|
||||
"loading_label_label": "Sürücü veritabanı indiriliyor...",
|
||||
"loading_no_internet_box_text_title": "İnternet hatası!",
|
||||
|
17
main.sh
17
main.sh
@ -1,18 +1,25 @@
|
||||
#! /bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
VERSION="1.0.0"
|
||||
|
||||
source ./pika-build-config.sh
|
||||
|
||||
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
||||
|
||||
# Clone Upstream
|
||||
mkdir -p pika-drivers
|
||||
cp -rvf ./* ./pika-drivers/
|
||||
cp -rvf ./* ./pika-drivers/ || true
|
||||
cd ./pika-drivers/
|
||||
|
||||
# Dead PikaOS3 Release Quirk?
|
||||
apt update
|
||||
apt-get install libglib2.0-0=2.78.0-2 libglib2.0-bin=2.78.0-2 libglib2.0-dev-bin=2.78.0-2 -y --allow-downgrades
|
||||
|
||||
# Get build deps
|
||||
apt-get build-dep ./ -y
|
||||
apt-get install curl -y
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/root/.cargo sh -s -- -y
|
||||
|
||||
# Build package
|
||||
LOGNAME=root dh_make --createorig -y -l -p pika-drivers_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
||||
dpkg-buildpackage --no-sign
|
||||
|
||||
# Move the debs to output
|
||||
|
10
pika-build-config/amd64-v3.sh
Executable file
10
pika-build-config/amd64-v3.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#! /bin/bash
|
||||
export PIKA_BUILD_ARCH="amd64-v3"
|
||||
export DEBIAN_FRONTEND="noninteractive"
|
||||
export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
||||
export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
||||
export DEB_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
||||
export DEB_CXXFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
||||
export DEB_LDFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
||||
export DEB_BUILD_OPTIONS="nocheck notest terse"
|
||||
export DPKG_GENSYMBOLS_CHECK_LEVEL=0
|
5
pika-build-config/i386.sh
Executable file
5
pika-build-config/i386.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#! /bin/bash
|
||||
export PIKA_BUILD_ARCH="i386"
|
||||
export DEBIAN_FRONTEND="noninteractive"
|
||||
export DEB_BUILD_OPTIONS="nocheck notest terse"
|
||||
export DPKG_GENSYMBOLS_CHECK_LEVEL=0
|
@ -1,8 +1,2 @@
|
||||
# send debs to server
|
||||
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pikauwu-main /srv/www/incoming/'
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:'
|
||||
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/cockatiel-incoming/
|
||||
|
@ -326,8 +326,8 @@ fn get_drivers(
|
||||
let driver_package_removeble = driver.removeble.to_owned();
|
||||
|
||||
gio::spawn_blocking(move || loop {
|
||||
let command_installed_status = Command::new("dpkg")
|
||||
.args(["-s", &driver_package_ind2])
|
||||
let command_installed_status = Command::new("/usr/lib/pika/drivers/check-pkg.sh")
|
||||
.arg(&driver_package_ind2)
|
||||
.output()
|
||||
.unwrap();
|
||||
if command_installed_status.status.success() {
|
||||
|
@ -2,5 +2,4 @@ pub const APP_ID: &str = "com.github.pikaos-linux.pikadrivers";
|
||||
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||
pub const APP_ICON: &str = "com.github.pikaos-linux.pikadrivers";
|
||||
pub const APP_GITHUB: &str = "https://github.com/PikaOS-Linux/pkg-pika-drivers";
|
||||
pub const DRIVER_DB_JSON_URL: &str =
|
||||
"https://raw.githubusercontent.com/PikaOS-Linux/pkg-pika-drivers/OS3/driver-db.json";
|
||||
pub const DRIVER_DB_JSON_URL: &str = "https://git.pika-os.com/custom-gui-packages/pika-drivers/raw/branch/main/driver-db.json";
|
||||
|
Loading…
Reference in New Issue
Block a user