This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import urllib.request | |
import json | |
import ssl | |
url="https://wiki.fogproject.org/wiki" | |
ctx = ssl.create_default_context() | |
ctx.check_hostname = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Updates the version numbers. | |
# Arguments: | |
# $1 The second is branch or typed as full. | |
versionUpdate() { | |
local testvar=$1 | |
[[ ! -w packages/web/lib/fog/system.class.php ]] && echo "Cannot open system.class.php for writing, exiting." && return 0 | |
[[ $testvar == full ]] && channel="Stable" | |
[[ -z $channel ]] && channel="alpha" | |
channel=$(echo $channel | awk '{print tolower($0)}') | |
echo -n "Updating version file... " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- fos/Buildroot/board/FOG/FOS/rootfs_overlay/bin/fog.upload 2020-09-25 19:06:30.170710100 +0200 | |
+++ mnt/bin/fog.upload 2021-03-07 14:05:20.000000000 +0100 | |
@@ -138,11 +138,28 @@ | |
removePageFile "$part" | |
shrinkPartition "$part" "$imagePath/d1.original.fstypes" "$fixed_size_partitions" | |
done | |
+ local hasgpt=0 | |
+ hasGPT "$hd" | |
+ if [[ $hasgpt -eq 1 ]]; then | |
+ echo " * Moving Partitions on disk $hd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- kernelsourcex64/.config 2020-06-16 16:55:06.973718308 -0500 | |
+++ Geo_5.6.18.conifig 2020-06-20 09:01:28.786465540 -0500 | |
@@ -4,10 +4,10 @@ | |
# | |
# | |
-# Compiler: gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 | |
+# Compiler: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) | |
# | |
CONFIG_CC_IS_GCC=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <errno.h> | |
#include <fcntl.h> | |
#include <sys/ioctl.h> | |
#include <linux/hdreg.h> | |
#include <unistd.h> | |
int main(int argc, char *argv[]) |