(CommandList children: [ (C {(mirror_style)} {(release)}) (C {(download_style)} {(apt)}) (C {(finddebs_style)} {(from-indices)}) (C {(variants)} {(-)} {(buildd)} {(fakechroot)} {(minbase)} {(scratchbox)}) (C {(keyring)} {(/usr/share/keyrings/debian-archive-keyring.gpg)}) (If arms: [ (if_arm cond: (C {(doing_variant)} {(fakechroot)}) action: (AndOr children: [ (C {(test)} {(DQ ($ VSub_Name "$FAKECHROOT"))} {(Lit_Other "=")} {(DQ (true))}) (C {(error)} {(1)} {(FAKECHROOTREQ)} {(DQ ("This variant requires fakechroot environment to be started"))} ) ] op_id: Op_DPipe ) ) ] ) (Case to_match: {($ VSub_Name "$ARCH")} arms: [ (case_arm pat_list: [{(alpha)} {(ia64)}] action: (Assignment scope: Global pairs: [(assign_pair lhs:(LeftVar name:LIBC) rhs:{(DQ (libc6.1))})] ) ) (case_arm pat_list: [{(kfreebsd-) (Lit_Other "*")}] action: (Assignment scope: Global pairs: [(assign_pair lhs:(LeftVar name:LIBC) rhs:{(DQ (libc0.1))})] ) ) (case_arm pat_list: [{(hurd-) (Lit_Other "*")}] action: (Assignment scope: Global pairs: [(assign_pair lhs:(LeftVar name:LIBC) rhs:{(DQ (libc0.3))})] ) ) (case_arm pat_list: [{(Lit_Other "*")}] action: (Assignment scope: Global pairs: [(assign_pair lhs:(LeftVar name:LIBC) rhs:{(DQ (libc6))})] ) ) ] ) (FuncDef name: work_out_debs body: (BraceGroup children: [ (Assignment scope: Global pairs: [ (assign_pair lhs: (LeftVar name:required) rhs: { (DQ (CommandSubPart command_list: (C {(get_debs)} {(Priority) (Lit_Other ":")} {(required)}) spids: [136 144] ) ) } ) ] ) (If arms: [ (if_arm cond: (AndOr children: [(C {(doing_variant)} {(-)}) (C {(doing_variant)} {(fakechroot)})] op_id: Op_DPipe ) action: (Assignment scope: Global pairs: [ (assign_pair lhs: (LeftVar name:base) rhs: { (DQ (CommandSubPart command_list: (C {(get_debs)} {(Priority) (Lit_Other ":")} {(important)}) spids: [175 183] ) ) } ) ] ) ) (if_arm cond: (AndOr children: [(C {(doing_variant)} {(buildd)}) (C {(doing_variant)} {(scratchbox)})] op_id: Op_DPipe ) action: (Assignment scope: Global pairs: [(assign_pair lhs:(LeftVar name:base) rhs:{(DQ ("apt build-essential"))})] ) ) (if_arm cond: (C {(doing_variant)} {(minbase)}) action: (Assignment scope: Global pairs: [(assign_pair lhs:(LeftVar name:base) rhs:{(DQ (apt))})] ) ) ] ) (If arms: [ (if_arm cond: (C {(doing_variant)} {(fakechroot)}) action: (Assignment scope: Global pairs: [ (assign_pair lhs: (LeftVar name:required) rhs: {(DQ ($ VSub_Name "$required") (" binutils"))} ) ] ) ) ] ) ] ) spids: [126 130] ) (FuncDef name: first_stage_install body: (BraceGroup children: [ (C {(extract)} {($ VSub_Name "$required")}) (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name "$TARGET") (/var/lib/dpkg))}) (SimpleCommand words: [{(Lit_Other ":")}] redirects: [ (Redirect op_id: Redir_Great arg_word: {(DQ ($ VSub_Name "$TARGET") (/var/lib/dpkg/status))} fd: -1 spids: [281] ) ] ) (SimpleCommand words: [{(Lit_Other ":")}] redirects: [ (Redirect op_id: Redir_Great arg_word: {(DQ ($ VSub_Name "$TARGET") (/var/lib/dpkg/available))} fd: -1 spids: [290] ) ] ) (C {(setup_etc)}) (If arms: [ (if_arm cond: (C {(Lit_Other "[")} {(KW_Bang "!")} {(-e)} {(DQ ($ VSub_Name "$TARGET") (/etc/fstab))} {(Lit_Other "]")} ) action: (CommandList children: [ (SimpleCommand words: [{(echo)} {(SQ <"# UNCONFIGURED FSTAB FOR BASE SYSTEM">)}] redirects: [ (Redirect op_id: Redir_Great arg_word: {(DQ ($ VSub_Name "$TARGET") (/etc/fstab))} fd: -1 spids: [326] ) ] ) (C {(chown)} {(0) (Lit_Other ":") (0)} {(DQ ($ VSub_Name "$TARGET") (/etc/fstab))} ) (C {(chmod)} {(644)} {(DQ ($ VSub_Name "$TARGET") (/etc/fstab))}) ] ) ) ] ) (FuncDef name: x_feign_install body: (BraceGroup children: [ (Assignment scope: Local pairs: [(assign_pair lhs:(LeftVar name:pkg) rhs:{(DQ ($ VSub_Number "$1"))})] ) (Assignment scope: Local pairs: [ (assign_pair lhs: (LeftVar name:deb) rhs: { (DQ (CommandSubPart command_list: (C {(debfor)} {($ VSub_Name "$pkg")}) spids: [380 385] ) ) } ) ] ) (Assignment scope: Local pairs: [ (assign_pair lhs: (LeftVar name:ver) rhs: { (DQ (CommandSubPart command_list: (C {(extract_deb_field)} {(DQ ($ VSub_Name "$TARGET") (/) ($ VSub_Name "$deb"))} {(Version)} ) spids: [393 404] ) ) } ) ] ) (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name "$TARGET") (/var/lib/dpkg/info))}) (SimpleCommand words: [ {(echo)} { (DQ ("Package: ") ($ VSub_Name "$pkg") ("\n") ("Version: ") ($ VSub_Name "$ver") ("\n") ("Maintainer: unknown\n") ("Status: install ok installed") ) } ] redirects: [ (Redirect op_id: Redir_DGreat arg_word: {(DQ ($ VSub_Name "$TARGET") (/var/lib/dpkg/status))} fd: -1 spids: [434] ) ] ) (C {(touch)} {(DQ ($ VSub_Name "$TARGET") (/var/lib/dpkg/info/) (${ VSub_Name pkg) (.list))} ) ] ) spids: [360 364] ) (C {(x_feign_install)} {(dpkg)}) ] ) spids: [255 259] ) (FuncDef name: second_stage_install body: (BraceGroup children: [ (C {(setup_devices)}) (FuncDef name: x_core_install body: (BraceGroup children: [ (Pipeline children: [ (C {(smallyes)} {(SQ )}) (C {(in_target)} {(dpkg)} {(--force-depends)} {(--install)} { (CommandSubPart command_list: (C {(debfor)} {(DQ ($ VSub_At "$@"))}) spids: [501 508] ) } ) ] negated: False ) ] ) spids: [478 482] ) (FuncDef name: p body: (BraceGroup children: [ (Assignment scope: Global pairs: [ (assign_pair lhs: (LeftVar name:baseprog) rhs: { (DQ (ArithSubPart anode: (ArithBinary op_id: Arith_Plus left: (ArithWord w:{($ VSub_Name "$baseprog")}) right: (ArithWord w: { (BracedVarSub token: <VSub_Number 1> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {(1)} ) spids: [530 534] ) } ) ) spids: [525 536] ) ) } ) ] ) ] ) spids: [515 519] ) (If arms: [ (if_arm cond: (C {(doing_variant)} {(fakechroot)}) action: (C {(setup_proc_fakechroot)}) ) (if_arm cond:(C {(doing_variant)} {(scratchbox)}) action:(C {(true)})) (if_arm cond: (NoOp) action: (CommandList children: [(C {(setup_proc)}) (C {(in_target)} {(/sbin/ldconfig)})] ) ) ] ) (Assignment scope: Global pairs: [(assign_pair lhs:(LeftVar name:DEBIAN_FRONTEND) rhs:{(noninteractive)})] ) (Assignment scope: Global pairs: [(assign_pair lhs:(LeftVar name:DEBCONF_NONINTERACTIVE_SEEN) rhs:{(true)})] ) (Assignment scope: Global flags: [Export] words: [{(DEBIAN_FRONTEND)} {(DEBCONF_NONINTERACTIVE_SEEN)}] ) (Assignment scope: Global pairs: [(assign_pair lhs:(LeftVar name:baseprog) rhs:{(0)})] ) (Assignment scope: Global pairs: [(assign_pair lhs:(LeftVar name:bases) rhs:{(7)})] ) (C {(p)}) (C {(progress)} {($ VSub_Name "$baseprog")} {($ VSub_Name "$bases")} {(INSTCORE)} {(DQ ("Installing core packages"))} ) (C {(info)} {(INSTCORE)} {(DQ ("Installing core packages..."))}) (C {(p)}) (C {(progress)} {($ VSub_Name "$baseprog")} {($ VSub_Name "$bases")} {(INSTCORE)} {(DQ ("Installing core packages"))} ) (C {(ln)} {(-sf)} {(mawk)} {(DQ ($ VSub_Name "$TARGET") (/usr/bin/awk))}) (C {(x_core_install)} {(base-passwd)}) (C {(x_core_install)} {(base-files)}) (C {(p)}) (C {(progress)} {($ VSub_Name "$baseprog")} {($ VSub_Name "$bases")} {(INSTCORE)} {(DQ ("Installing core packages"))} ) (C {(x_core_install)} {(dpkg)}) (If arms: [ (if_arm cond: (C {(Lit_Other "[")} {(KW_Bang "!")} {(-e)} {(DQ ($ VSub_Name "$TARGET") (/etc/localtime))} {(Lit_Other "]")} ) action: (C {(ln)} {(-sf)} {(/usr/share/zoneinfo/UTC)} {(DQ ($ VSub_Name "$TARGET") (/etc/localtime))} ) ) ] ) (If arms: [ (if_arm cond: (C {(doing_variant)} {(fakechroot)}) action: (C {(install_fakechroot_tools)}) ) ] ) (C {(p)}) (C {(progress)} {($ VSub_Name "$baseprog")} {($ VSub_Name "$bases")} {(INSTCORE)} {(DQ ("Installing core packages"))} ) (C {(x_core_install)} {($ VSub_Name "$LIBC")}) (C {(p)}) (C {(progress)} {($ VSub_Name "$baseprog")} {($ VSub_Name "$bases")} {(INSTCORE)} {(DQ ("Installing core packages"))} ) (C {(x_core_install)} {(perl-base)}) (C {(p)}) (C {(progress)} {($ VSub_Name "$baseprog")} {($ VSub_Name "$bases")} {(INSTCORE)} {(DQ ("Installing core packages"))} ) (C {(rm)} {(DQ ($ VSub_Name "$TARGET") (/usr/bin/awk))}) (C {(x_core_install)} {(mawk)}) (C {(p)}) (C {(progress)} {($ VSub_Name "$baseprog")} {($ VSub_Name "$bases")} {(INSTCORE)} {(DQ ("Installing core packages"))} ) (If arms: [(if_arm cond:(C {(doing_variant)} {(-)}) action:(C {(x_core_install)} {(debconf)}))] ) (Assignment scope: Global pairs: [(assign_pair lhs:(LeftVar name:baseprog) rhs:{(0)})] ) (Assignment scope: Global pairs: [ (assign_pair lhs: (LeftVar name:bases) rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(set)} {(--)} {($ VSub_Name "$required")}) (C {(echo)} {($ VSub_Pound "$#")}) ] ) spids: [883 895] ) } ) ] ) (C {(info)} {(UNPACKREQ)} {(DQ ("Unpacking required packages..."))}) (SimpleCommand words: [{(exec)}] redirects: [(Redirect op_id:Redir_GreatAnd arg_word:{(1)} fd:7 spids:[911])] ) (Pipeline children: [ (C {(smallyes)} {(SQ )}) (Subshell children: [ (AndOr children: [ (SimpleCommand words: [ {(repeatn)} {(5)} {(in_target_failmsg)} {(UNPACK_REQ_FAIL_FIVE)} { (DQ ( "Failure while unpacking required packages. This will be attempted up to five times." ) ) } {(DQ )} {(dpkg)} {(--status-fd)} {(8)} {(--force-depends)} {(--unpack)} { (CommandSubPart command_list: (C {(debfor)} {($ VSub_Name "$required")}) spids: [952 957] ) } ] redirects: [ (Redirect op_id: Redir_GreatAnd arg_word: {(1)} fd: 8 spids: [959] ) (Redirect op_id: Redir_GreatAnd arg_word: {(7)} fd: 1 spids: [962] ) ] ) (C {(echo)} {(EXITCODE)} {($ VSub_QMark "$?")}) ] op_id: Op_DPipe ) ] ) (C {(dpkg_progress)} {($ VSub_Name "$baseprog")} {($ VSub_Name "$bases")} {(UNPACKREQ)} {(DQ ("Unpacking required packages"))} {(UNPACKING)} ) ] negated: False ) (C {(info)} {(CONFREQ)} {(DQ ("Configuring required packages..."))}) (C {(mv)} {(DQ ($ VSub_Name "$TARGET") (/sbin/start-stop-daemon))} {(DQ ($ VSub_Name "$TARGET") (/sbin/start-stop-daemon.REAL))} ) (SimpleCommand words: [ {(echo)} { (DQ ("#!/bin/sh\n") ("echo\n") ("echo ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ("Warning: Fake start-stop-daemon called, doing nothing") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ) } ] redirects: [ (Redirect op_id: Redir_Great arg_word: {(DQ ($ VSub_Name "$TARGET") (/sbin/start-stop-daemon))} fd: -1 spids: [1029] ) ] ) (C {(chmod)} {(755)} {(DQ ($ VSub_Name "$TARGET") (/sbin/start-stop-daemon))}) (C {(setup_dselect_method)} {(apt)}) (Pipeline children: [ (C {(smallyes)} {(SQ )}) (Subshell children: [ (AndOr children: [ (SimpleCommand words: [ {(in_target_failmsg)} {(CONF_REQ_FAIL)} {(DQ ("Failure while configuring required packages."))} {(DQ )} {(dpkg)} {(--status-fd)} {(8)} {(--configure)} {(--pending)} {(--force-configure-any)} {(--force-depends)} ] redirects: [ (Redirect op_id: Redir_GreatAnd arg_word: {(1)} fd: 8 spids: [1090] ) (Redirect op_id: Redir_GreatAnd arg_word: {(7)} fd: 1 spids: [1093] ) ] ) (C {(echo)} {(EXITCODE)} {($ VSub_QMark "$?")}) ] op_id: Op_DPipe ) ] ) (C {(dpkg_progress)} {($ VSub_Name "$baseprog")} {($ VSub_Name "$bases")} {(CONFREQ)} {(DQ ("Configuring required packages"))} {(CONFIGURING)} ) ] negated: False ) (Assignment scope: Global pairs: [(assign_pair lhs:(LeftVar name:baseprog) rhs:{(0)})] ) (Assignment scope: Global pairs: [ (assign_pair lhs: (LeftVar name:bases) rhs: { (DQ (CommandSubPart command_list: (CommandList children: [ (C {(set)} {(--)} {($ VSub_Name "$base")}) (C {(echo)} {($ VSub_Pound "$#")}) ] ) spids: [1131 1143] ) ) } ) ] ) (C {(info)} {(UNPACKBASE)} {(DQ ("Unpacking the base system..."))}) (C {(setup_available)} {($ VSub_Name "$required")} {($ VSub_Name "$base")}) (Assignment scope: Global pairs: [(assign_pair lhs:(LeftVar name:done_predeps) rhs:{(SQ )})] ) (While cond: (Assignment scope: Global pairs: [ (assign_pair lhs: (LeftVar name:predep) rhs: {(CommandSubPart command_list:(C {(get_next_predep)}) spids:[11711174])} ) ] ) body: (CommandList children: [ (Assignment scope: Global pairs: [ (assign_pair lhs: (LeftVar name:predep) rhs: { (CommandSubPart command_list: (C {(without)} { (DQ (CommandSubPart command_list: (C {(without)} { (DQ (CommandSubPart command_list: (C {(resolve_deps)} {($ VSub_Name "$predep")}) spids: [1197 1202] ) ) } {(DQ ($ VSub_Name "$required"))} ) spids: [1193 1209] ) ) } {(DQ ($ VSub_Name "$done_predeps"))} ) spids: [1189 1216] ) } ) ] ) (C {(p)}) (Pipeline children: [ (C {(smallyes)} {(SQ )}) (C {(in_target)} {(dpkg)} {(--force-overwrite)} {(--force-confold)} {(--skip-same-version)} {(--install)} {(CommandSubPart command_list:(C {(debfor)} {($ VSub_Name "$predep")}) spids:[12501255])} ) ] negated: False ) (Assignment scope: Global pairs: [ (assign_pair lhs: (LeftVar name:base) rhs: { (CommandSubPart command_list: (C {(without)} {(DQ ($ VSub_Name "$base"))} {(DQ ($ VSub_Name "$predep"))} ) spids: [1259 1270] ) } ) ] ) (Assignment scope: Global pairs: [ (assign_pair lhs: (LeftVar name:done_predeps) rhs: {(DQ ($ VSub_Name "$done_predeps") (" ") ($ VSub_Name "$predep"))} ) ] ) ] spids: [1177 1281] ) ) (Pipeline children: [ (C {(smallyes)} {(SQ )}) (Subshell children: [ (AndOr children: [ (SimpleCommand words: [ {(repeatn)} {(5)} {(in_target_failmsg)} {(INST_BASE_FAIL_FIVE)} { (DQ ( "Failure while installing base packages. This will be re-attempted up to five times." ) ) } {(DQ )} {(dpkg)} {(--status-fd)} {(8)} {(--force-overwrite)} {(--force-confold)} {(--skip-same-version)} {(--unpack)} { (CommandSubPart command_list: (C {(debfor)} {($ VSub_Name "$base")}) spids: [1325 1330] ) } ] redirects: [ (Redirect op_id: Redir_GreatAnd arg_word: {(1)} fd: 8 spids: [1332] ) (Redirect op_id: Redir_GreatAnd arg_word: {(7)} fd: 1 spids: [1335] ) ] ) (C {(echo)} {(EXITCODE)} {($ VSub_QMark "$?")}) ] op_id: Op_DPipe ) ] ) (C {(dpkg_progress)} {($ VSub_Name "$baseprog")} {($ VSub_Name "$bases")} {(UNPACKBASE)} {(DQ ("Unpacking base system"))} {(UNPACKING)} ) ] negated: False ) (C {(info)} {(CONFBASE)} {(DQ ("Configuring the base system..."))}) (Pipeline children: [ (C {(smallyes)} {(SQ )}) (Subshell children: [ (AndOr children: [ (SimpleCommand words: [ {(repeatn)} {(5)} {(in_target_failmsg)} {(CONF_BASE_FAIL_FIVE)} { (DQ ( "Failure while configuring base packages. This will be re-attempted up to five times." ) ) } {(DQ )} {(dpkg)} {(--status-fd)} {(8)} {(--force-confold)} {(--skip-same-version)} {(--configure)} {(-a)} ] redirects: [ (Redirect op_id: Redir_GreatAnd arg_word: {(1)} fd: 8 spids: [1417] ) (Redirect op_id: Redir_GreatAnd arg_word: {(7)} fd: 1 spids: [1420] ) ] ) (C {(echo)} {(EXITCODE)} {($ VSub_QMark "$?")}) ] op_id: Op_DPipe ) ] ) (C {(dpkg_progress)} {($ VSub_Name "$baseprog")} {($ VSub_Name "$bases")} {(CONFBASE)} {(DQ ("Configuring base system"))} {(CONFIGURING)} ) ] negated: False ) (C {(mv)} {(DQ ($ VSub_Name "$TARGET") (/sbin/start-stop-daemon.REAL))} {(DQ ($ VSub_Name "$TARGET") (/sbin/start-stop-daemon))} ) (C {(progress)} {($ VSub_Name "$bases")} {($ VSub_Name "$bases")} {(CONFBASE)} {(DQ ("Configuring base system"))} ) (C {(info)} {(BASESUCCESS)} {(DQ ("Base system installed successfully."))}) ] ) spids: [466 470] ) ] )