This file contains hidden or 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
#!/bin/sh -e | |
if [ "$1" = "configure" ]; then | |
/usr/share/locales/install-language-pack "en" "" "$2" || true | |
fi | |
exit 0 |
This file contains hidden or 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
#!/bin/sh | |
for x in $(cat /proc/cmdline); do | |
case ${x} in | |
m_bpp=*) export bpp=${x#*=} ;; | |
hdmimode=*) export mode=${x#*=} ;; | |
esac | |
done | |
HPD_STATE=/sys/class/amhdmitx/amhdmitx0/hpd_state |
This file contains hidden or 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
# Boot Arguments | |
setenv bootargs "root=UUID=<%= rootfs_blkid %> rootwait ro ${condev} no_console_suspend vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} ${enabledac}" | |
# Booting | |
fatload mmc 0:1 0x21000000 <%= uImage %> | |
fatload mmc 0:1 0x22000000 <%= uInitrd %> | |
fatload mmc 0:1 0x21800000 boot/meson8b_odroidc.dtb | |
fdt addr 21800000 |
This file contains hidden or 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
ODROIDC-UBOOT-CONFIG | |
# Possible screen resolutions | |
# Uncomment only a single Line! The line with setenv written. | |
# At least one mode must be selected. | |
# setenv m "vga" # 640x480 | |
# setenv m "480p" # 720x480 | |
# setenv m "576p" # 720x576 | |
# setenv m "800x480p60hz" # 800x480 |
This file contains hidden or 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
:bootloader: | |
:config: | |
:src: boot.ini.erb | |
:dst: boot/boot.ini | |
:uboot: | |
:bl1: | |
:file: usr/share/c1_uboot/bl1.bin.hardkernel | |
:dd_opts: "bs=1 count=442" | |
:SPL: | |
:file: usr/share/c1_uboot/bl1.bin.hardkernel |
This file contains hidden or 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
```yml | |
--- | |
:release: vivid | |
:size: 4G | |
:parted: parted.txt | |
:rootfs: | |
:url: https://releases.linaro.org/15.06/ubuntu/vivid-images/nano/linaro-vivid-nano-20150618-705.tar.gz | |
:md5sum: df15a61bb11e634b5c7e78379a67e8d9 | |
:firmware: | |
:backend: apt |
This file contains hidden or 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
--- | |
:release: vivid | |
:size: 4G | |
:parted: parted.txt | |
:rootfs: | |
:url: https://releases.linaro.org/15.06/ubuntu/vivid-images/nano/linaro-vivid-nano-20150618-705.tar.gz | |
:md5sum: df15a61bb11e634b5c7e78379a67e8d9 | |
:firmware: | |
:backend: apt | |
:sources: |
This file contains hidden or 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
require_relative 'imageconfig' | |
require_relative 'lib/firmware/backend' | |
require 'open-uri' | |
require 'fileutils' | |
require 'digest' | |
# Class to handle firmware installation | |
class Firmware | |
def initialize(config) |
This file contains hidden or 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
format: 3.0 | |
name: c1-hwpack | |
architectures: | |
- armhf | |
origin: Blue Systems | |
maintainer: Rohan Garg <[email protected]> | |
support: unsupported | |
dtb_files: | |
- ./ : boot/meson8b_odroidc.dtb | |
dtb_addr: 0x21800000 |
This file contains hidden or 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
diff --git a/src/modules/users/SetPasswordJob.cpp b/src/modules/users/SetPasswordJob.cpp | |
index 5631ded..5ec86ed 100644 | |
--- a/src/modules/users/SetPasswordJob.cpp | |
+++ b/src/modules/users/SetPasswordJob.cpp | |
@@ -59,7 +59,7 @@ SetPasswordJob::exec() | |
return Calamares::JobResult::error( tr( "Bad destination system path." ), | |
tr( "rootMountPoint is %1" ).arg( destDir.absolutePath() ) ); | |
- QByteArray data = crypt( m_newPassword.toLatin1(), QString( "$6$%1$" ).arg( m_userName ).toLatin1() ); | |
+ QByteArray data = crypt( m_newPassword.toLatin1(), QString( "\$6\$%1\$" ).arg( m_userName ).toLatin1() ); |