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
# EDIT: Solution was that I had accidentally given grub a config where / is on LVM on LUKS, which can obviously not work. | |
# Still unclear why GRUB "memory leaks" in that case. | |
installing the GRUB 2 boot loader on /dev/sda... | |
Installing for i386-pc platform. | |
You have a memory leak (not released memory pool): | |
[0x56c1e0] dtree | |
[0x571e10] dtree | |
Internal error: Unreleased memory pool(s) found. | |
You have a memory leak (not released memory pool): |
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
name: Cabal | |
version: 2.4.1.0 | |
id: Cabal-2.4.1.0-9MZFDeNrcJI10bcroa6pq8 | |
key: Cabal-2.4.1.0-9MZFDeNrcJI10bcroa6pq8 | |
license: BSD-3-Clause | |
copyright: 2003-2018, Cabal Development Team (see AUTHORS file) | |
maintainer: [email protected] | |
author: Cabal Development Team <[email protected]> | |
homepage: http://www.haskell.org/cabal/ | |
synopsis: A framework for packaging Haskell software |
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
-- Example for controlling ghci interactively with conduit's process module. | |
{-# LANGUAGE OverloadedStrings #-} | |
{-# LANGUAGE ScopedTypeVariables #-} | |
import Conduit | |
import Control.Concurrent.Async | |
import Control.Concurrent.MVar | |
import Control.Monad | |
import Data.Conduit (runConduit, (.|)) |
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
$ env | grep -i --color prop | |
propagatedBuildInputs= | |
propagatedNativeBuildInputs= | |
__propagatedImpureHostDeps= | |
depsHostHostPropagated= | |
__propagatedSandboxProfile= | |
depsBuildBuildPropagated= | |
depsBuildTargetPropagated= | |
depsTargetTargetPropagated= |
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
# Let's assume COMPILER was for some accidental reason not set. | |
# COMPILER=gcc | |
CFLAGS = -O2 -Wall | |
all: | |
$(COMPILER) $(CFLAGS) --version |
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
[root@builder:~/kernel]# mkdir tmpdir | |
[root@builder:~/kernel]# cd tmpdir | |
[root@builder:~/kernel/tmpdir]# NIX_PATH=nixpkgs=$HOME/kernel/nixpkgs nix-shell -E 'with import <nixpkgs> {}; linux.overrideAttrs (o: {nativeBuildInputs=o.nativeBuildInputs ++ [ pkgconfig ncurses ];})' | |
[nix-shell:~/kernel/tmpdir]# unpackPhase | |
unpacking source archive /nix/store/z7wzk01hjfgdcbnbzpkq040v7k9hw427-linux-4.19.36.tar.xz | |
source root is linux-4.19.36 | |
setting SOURCE_DATE_EPOCH to timestamp 1555744565 of file linux-4.19.36/virt/lib/irqbypass.c |
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
% ./extract-ikconfig $(NIX_PATH=nixpkgs=$HOME/src/nixpkgs nix-build '<nixpkgs/nixos>' -A config.system.build.unsigned-chromiumos-kernel -I nixos-config=nixos-rootfs.nix --option builders-use-substitutes true --builders @$HOME/nix-remote-builders)/bzImage | |
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86_64 4.4.178 Kernel Configuration | |
# | |
CONFIG_64BIT=y | |
CONFIG_X86_64=y | |
CONFIG_X86=y | |
CONFIG_INSTRUCTION_DECODER=y | |
CONFIG_PERF_EVENTS_INTEL_UNCORE=y |
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/nixops/deployment.py b/nixops/deployment.py | |
index 1341a27..6df2fd6 100644 | |
--- a/nixops/deployment.py | |
+++ b/nixops/deployment.py | |
@@ -2,7 +2,7 @@ | |
import sys | |
import os.path | |
-import subprocess | |
+import subprocess32 as subprocess |
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
# Build with: | |
# NIX_PATH=nixpkgs=$HOME/src/nixpkgs nix-build --no-link '<nixpkgs/nixos>' -A config.system.build.tarball -I nixos-config=thisfile.nix | |
# You can also use | |
# -A config.system.build.toplevel | |
# to build something you can browse locally (that uses symlinks into your nix store). | |
{config, pkgs, ...}: | |
{ | |
# We need no bootloader, because the Chromebook can't use that anyway. | |
boot.loader.grub.enable = false; |
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
→ nh2 joined • Channel mode: +cgnrt | |
02:41 <nh2> I think I found a bug in ChromiumOS's custom Linux kernel patches. How do I find the exact git commit of the kernel that my Chromebook is running? | |
03:30 <nh2> also, why is the `Version Lookup` box on https://cros-omahaproxy.appspot.com returning (in red bold text): | |
03:30 <nh2> <html> <head> <title>500 Internal Server Error</title> </head> <body> <h1>500 Internal Server Error</h1> The server has either erred or is incapable of performing the requested operation.<br /><br /> </body> </html> | |
05:50 → CEnnis91 joined ⇐ flyback quit ↔ seventh popped in ↔ bashfulshell, sibis and phh nipped out | |
Tuesday, March 19th, 2019 | |
00:20 | |
<+amstan> nh2: hey | |
00:20 <nh2> amstan: hey | |
00:21 |